Skip to content
Prev 3353 / 63424 Next

Parser Bug Somewhere.... (PR#460)

On Mon, 28 Feb 2000 john-cavanaugh@cableone.net wrote:

            
No, it's not a valid name. The underscore is a synonym for the assignment
operator <-, and so needs to be quoted if you use it. 

If you think this is horrible you're quite right, but the S language
allows _ for <- and many people are used to it.

The commonest S usage is MACD.fast, though some people use capital letters
for embedded words -- MACDFast. Both are used in the base R package:
as.vector(), getOption().


Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._