[Rd] question on docs for delayedAssign and substitute
tplate at blackmesacapital.com
Tue Feb 13 19:34:18 CET 2007
The help files for delayedAssign and substitute both say that
substitute() can be used to see the expression associated with a
promise. However, I can't see how to do that. When I try the example
in help file for delayedAssign I don't see substitute() extracting the
> msg <- "old"
> delayedAssign("x", msg)
> msg <- "new!"
> substitute(x) #- I would expect to see 'msg' here
> x #- new!
Has this functionality been removed, and the docs not updated? Or am I
-- Tony Plate
R version 2.4.1 (2006-12-18)
attached base packages:
 "stats" "graphics" "grDevices" "utils" "datasets" "methods"
other attached packages:
More information about the R-devel