Martin Maechler
1997-Oct-10  10:05 UTC
R-alpha: Bug (since 0.50): get(name.of.expression) evaluates
This was not in 0.49 (when expressions where a different kind of objects).
get(..) does an extra eval(..)  when it should not :
###-*- R -*-   (cut and paste into R) ---------------------------
## rm(a) # if there is an 'a' 
 ex <- expression(a)
 ex
#> expression(a)
get("ex") #--- should really just return `expression(a)'
...>>>>> Error: Object "a" not found
a <- pi
ex
# expression(a)
get("ex") #--- should really just return `expression(a)' ...
# [1] 3.141593
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To:
r-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-