[Rd] Syntactically valid names

Hadley Wickham hadley at rice.edu
Wed Jul 6 01:59:16 CEST 2011


> This is without quoting, right? Because "make.names" replaces spaces with
> periods, and using quoting I can create syntactically valid names that do
> include spaces:
>
>    `x prime` <- 3
>    ls()

That's not a syntactically valid name - you use backticks to refer to
names that are not syntactically valid.

Hadley

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/



More information about the R-devel mailing list