From Martin Maechler <maechler@stat.math.ethz.ch>  Fri Oct 10 11:05:12 1997
From: Martin Maechler <maechler@stat.math.ethz.ch> (Martin Maechler)
Date: Fri, 10 Oct 1997 12:05:12 +0200
Subject: R-alpha: Bug (since 0.50):  get(name.of.expression)  evaluates
Message-ID: <199710101005.MAA01480@sophie.ethz.ch>

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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: Bug (since 0.50): get(name.of.expression) evaluates
Martin Maechler