From hadley at rice.edu  Wed Jul  6 01:59:16 2011
From: hadley at rice.edu (Hadley Wickham)
Date: Tue, 5 Jul 2011 19:59:16 -0400
Subject: [Rd] Syntactically valid names
In-Reply-To: <201107051655.28642.cubranic@stat.ubc.ca>
References: <BANLkTimg=TM0hYA1=Obknb+486Hv8T7Fdw@mail.gmail.com>
	<201107051655.28642.cubranic@stat.ubc.ca>
Message-ID: <CABdHhvGqxsfep6UXxp+7JRXXjWMMA8x4WEgk3GSxDqA0AY0qKw@mail.gmail.com>

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



[Rd] Syntactically valid names
Hadley Wickham