On 04/02/2013 12:20 PM, Josh O'Brien wrote:
Hello,

Apparently thanks to improvements to the R parser, this example from
section 6.1 of the R Language Definition no longer holds.

> deparse(quote(c(1, 2)))
[1] "c(1, 2)"
> deparse(1:2)
[1] "c(1, 2)"



Thanks, I'll replace that example with this one:

> str(quote(c(1,2)))
 language c(1, 2)
> str(c(1,2))
 num [1:2] 1 2
> deparse(quote(c(1,2)))
[1] "c(1, 2)"
> deparse(c(1,2))
[1] "c(1, 2)"

Duncan Murdoch

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to