[R] Bug in "transform"?

Wacek Kusnierczyk Waclaw.Marcin.Kusnierczyk at idi.ntnu.no
Wed Dec 3 10:45:36 CET 2008


Peter Dalgaard wrote:
>
> BTW, we have a deparser bug:
>
> > transform
> function ("_data", ...)
> UseMethod("transform")
> <environment: namespace:base>
>
> > function ("_data", ...)
> Error: unexpected string constant in "function ("_data""
> ....
>
> > f <- function (`_data`, ...) {}
> > attr(f,"source")<-NULL
> > f
> function ("_data", ...)
> {
> }
>
> It should deparse with backticks, not the old-style quotes (did that
> ever work?).
>

isn't it the same issue as in this simple case:

`FALSE` = 0
ls()
# "FALSE", not `FALSE`

vQ



More information about the R-help mailing list