[prev in list] [next in list] [prev in thread] [next in thread]
List: r-devel
Subject: Re: source() / eval() bug ??? (PR#96)
From: Peter Dalgaard <R-bugs () biostat ! ku ! dk>
Date: 1999-02-16 15:33:09
[Download RAW message or body]
This one got fixed, I believe.
> R-0.63.2 and ``0.63.3 in progress'' :
>
> Put the following in a file
>
> ------ 8< -- snip ----------------------------- ...../source-bug.R -------
> rm(list=ls())
> cat("before c(..):\n")
> c(F=(f <- .3), "Tail area" = 2 * if(f < 1) 30 else 90)
> ------ 8< -- snip -------------------------- end ..../source-bug.R -------
>
> then
>
> source("......../source-bug.R")
> ^^^^^^^^
> proper path name
>
> [[or source("......../source-bug.R", verbose=TRUE) ]]
>
> ends with
> =============================================
> before c(..):
> Error: getAttrib: invalid type for TAG
> >
> =============================================
>
> On interactive usage, or if you use
>
> R --vanilla < ..../source-bug.R
>
> there's no problem !
>
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic