Hello,

I would like to write a function where substitute operates on the
parameter, but ...


> Expression =  function(o,l)  substitute(o, l)
> Expression({x=.(FOO)}, list(FOO=2))
o

How do i get substitute to work on the contents of o.

Regards
Saptarshi

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to