[R] readRDS problem
r.turner at auckland.ac.nz
Wed Feb 24 21:32:32 CET 2016
On 25/02/16 00:11, Erich Neuwirth wrote:
> will show you that data is a reserved word!
That is simply not true. There is no mention in help for data of "data"
being a reserved word.
Moreover, if "data" *were* a reserved word " <- " wouldn't work either.
data <- 42 # No problema.
TRUE <- 42 # Throws an error; "TRUE" really *is* a reserved word.
The real explanation is more subtle; it involves "locking" and the
rather intricate behaviour of "<<-", which I do no claim to understand.
The best advice is: DON'T USE "<<-" !!!
See fortune("dumb down").
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
More information about the R-help