[R] Maintain Spaces and Parentheses in Variable Names

2009-01-09 Thread Cloudy56
Is there any way to maintain spaces, slashes, and parentheses in variable names when reading these into R? Of course, read.table converts these to periods. However, I know that it's not strictly illegal to have these characters in variable names as I am able to add them using the variable

Re: [R] Maintain Spaces and Parentheses in Variable Names

2009-01-09 Thread Henrique Dallazuanna
Try this: read.table(, check.names = FALSE) On Fri, Jan 9, 2009 at 3:56 PM, Cloudy56 clough.jonat...@gmail.com wrote: Is there any way to maintain spaces, slashes, and parentheses in variable names when reading these into R? Of course, read.table converts these to periods. However, I

Re: [R] Maintain Spaces and Parentheses in Variable Names

2009-01-09 Thread Cloudy56
Thank you very much. That certainly worked. Somehow I did not see that when reading the help file, nor could I find it via Google search so I appreciate your help! -- JC Henrique Dallazuanna wrote: Try this: read.table(, check.names = FALSE) On Fri, Jan 9, 2009 at 3:56 PM,

Re: [R] Maintain Spaces and Parentheses in Variable Names

2009-01-09 Thread Greg Snow
greg.s...@imail.org 801.408.8111 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of Cloudy56 Sent: Friday, January 09, 2009 11:42 AM To: r-help@r-project.org Subject: Re: [R] Maintain Spaces and Parentheses in Variable Names