On 6/6/2005 4:55 PM, Peter Dalgaard wrote:
[EMAIL PROTECTED] writes:
Is it doing an extra eval or something? It looks like it:
> x <- expression()
> x
expression()
> eval(x)
NULL
>
> x <- quote(expression())
> x
expression()
> eval(x)
expression()
> eval(eval(x))
NULL
You do realize that the two expression() results are not identical:
x <- quote(expression())
class(x)
[1] "call"
x <- expression()
class(x)
[1] "expression"
Not that I can fathom what bearing that has on the real problem...
I figured they weren't identical, given that they gave different results
when eval'd, but I didn't know what the difference was exactly. Thanks!
Duncan
______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel