do.call() mangles expressions in arguments (PR#174)
pd@biostat.ku.dk
pd@biostat.ku.dk
Wed, 21 Apr 1999 19:36:25 +0200 (MET DST)
> f<-function(x)x
> f(expression(print("Oops")))
expression(print("Oops"))
> do.call("f",list(expression(print("Oops"))))
[1] "Oops"
Something in the do_docall code causes an extra eval of the
argument. Causes trouble with math expressions in labels in
boxplot (do.call("title",...))
--please do not edit the information below--
Version:
platform = i586-unknown-linux
arch = i586
os = linux
system = i586, linux
status = Patched (unreleased snapshot)
status.rev = 0
major = 0
minor = 64.0
year = 1999
month = April
day = 22
language = R
Search Path:
.GlobalEnv, Autoloads, package:base
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._