[R] Naming Convention
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Jan 13 11:07:50 CET 2005
On Thu, 13 Jan 2005, [ISO-8859-1] Romain François wrote:
>
> Christoph Scherber a écrit :
>
>> Dear Reinhold,
>>
>> All entries are allowed except "price swap" or "price_swap"
>
> As a matter of fact, the syntax price_swap is now allowed (since R 1.9.1 I
> think). The rest is a choice issue ... deprends on you.
Even "price swap" is allowed, but you will have to work a bit harder, e.g.
call data.frame() with check.names=FALSE and quote the name (preferably
with backticks) when you want to use it.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list