as.name is not idempotent

Douglas Bates bates@stat.wisc.edu
29 Dec 1997 22:09:35 -0600


At least I think the word I want "idempotent" - it has been a long
debugging session and my brain is fried so I am not sure.

What I mean is that as.name applied to a name gives an error.
 > as.name("foo")
 foo
 > as.name(as.name("foo"))
 Error in as.name(x) : character argument required

It might help if it were a bit more flexible about the arguments it
accepts.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._