Skip to content
Prev 298888 / 398503 Next

turning R expressions into functions?

Dear Greg,

many thanks for your anwer.
On Sat, Jun 30, 2012 at 11:39:07AM -0600, Greg Snow wrote:
Yes, this is very similar to what I want to achieve.
One of the main differences is that 'replicate' builds
up a list of all call results, and for my measurements
I want to avoid the resulting (time and memory) overhead.
But I did look at the implementation of 'replicate'
and this is where I took the trick of using
eval.parent and substitute from.

All the best,
Jochen