This is not really a problem, but I'm wondering if there is a more elegant solution:

Lets say i have a vector `vec <- rlnorm(10)` and I want to apply a not vectorized function to it, e.g. `exp` (ignore for the moment that it is vectorized), I can do

```
sapply( vec, exp )

```

But when the function I want to apply is nested, the expression becomes directly less simple:

```
sapply( vec, function(x) exp( sqrt(x) ) )

```

This happens to me all the time with the `apply` and `plyr` family.

So my question is, is there in general an elegant way to nest (or pipe) functions without defining explicitly an (anonymous) function `function(x){...}`? Something like

```
# notrun
sapply( vec, sqrt | exp )

```

or similar.