Also, while any character string is allowed, the use of strings that are not legal names limits their utility, especially for the columns of a data.frame, which could normally be used in a formula for something like "lm" or even more general using "with" or "attach".

     hope this helps.  spencer graves

Prof Brian Ripley wrote:

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.

------------------------------------------------------------------------

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to