[R] substitute, eval and hastables

Serge Boiko boiko at demogr.mpg.de
Wed Jan 29 14:44:02 CET 2003


Uwe Ligges <ligges at statistik.uni-dortmund.de> writes:

>    nn.Exp <- substitute(a$b, list(b=nn[1]))
>    eval(nn.Exp)

Thanks, Uwe. It does work, but, surely using brackets is better. 
-Serge




More information about the R-help mailing list