On Thu, Aug 15, 2013 at 5:59 AM, Simon Urbanek
<simon.urba...@r-project.org>wrote:

> Note that this is documented very explicitly:
>
> "evalÂ’ evaluates its first argument in the current scope before passing it
> to the evaluator"
>

But the same man page also describes "eval" like this:

 'eval' evaluates the 'expr' argument in the environment specified
 by 'envir' and returns the computed value.

So, does "eval" perform one round of evaluation, or two? Does "evaluates
[some] argument" refer to the ordinary process of obtaining the argument's
value value, or to the feeding of that value back to the evaluator? Does
this "evaluation" take place in the environment passed as argument, or the
calling environment?

I'm familiar with what 'eval' actually does, but its description in the man
page is incoherent.

Peter

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to