Re: [Rd] Syntactically valid names

From: Hadley Wickham <hadley_at_rice.edu>
Date: Tue, 05 Jul 2011 19:59:16 -0400

> 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/

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed 06 Jul 2011 - 00:57:35 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 06 Jul 2011 - 01:20:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive