Re: [R] data frame's column names not the same as in CSV

2009-09-28 Thread Derek Foo
Thank you all. I would like to say that it was my first time posting on the r-help mailing list. I am very impressed and grateful that I got the answer to my problem so quickly. Back to the issue, using read.csv (instead of read.csv) and turning off the check.names flag solved my problem. Derek

Re: [R] data frame's column names not the same as in CSV

2009-09-26 Thread Don MacQueen
At 1:58 AM -0400 9/26/09, Derek Foo wrote: Hello, I am trying to read in a csv file with column such as "\\LS01\Processor(_Total)\% Processor Time" with the command read.csv("file"). However, the column name in the resulted data frame is changed to "X..LS01.Processor._TotalProcessor.Time".

Re: [R] data frame's column names not the same as in CSV

2009-09-26 Thread Stefan Grosse
On Sat, 26 Sep 2009 01:58:38 -0400 Derek Foo wrote: DF> I am trying to read in a csv file with column such as DF> "\\LS01\Processor(_Total)\% Processor Time" with the command DF> read.csv("file"). However, the column name in the resulted data DF> frame is changed to "X..LS01.Processor._TotalP

Re: [R] data frame's column names not the same as in CSV

2009-09-26 Thread Gabor Grothendieck
See the check.names argument in the help file for read.table. On Sat, Sep 26, 2009 at 1:58 AM, Derek Foo wrote: > Hello, > > I am trying to read in a csv file with column such as > "\\LS01\Processor(_Total)\% Processor Time" with the command > read.csv("file"). However, the column name in the res