Re: [R] Error is coming as NULL

2012-01-24 Thread Petr Savicky
On Tue, Jan 24, 2012 at 12:07:26PM +, Sri krishna Devarayalu Balanagu wrote: > > Hi All, > > This is the file which I want to import into R After importing and querying > the data, error is coming as null. > > read.csv("Noname3.csv", header=T) -> FD > FD$SUBJECT > NULL Hi. Names of the

[R] Error is coming as NULL

2012-01-24 Thread Sri krishna Devarayalu Balanagu
Hi All, This is the file which I want to import into R After importing and querying the data, error is coming as null. read.csv("Noname3.csv", header=T) -> FD FD$SUBJECT NULL Can please help? Regards Devarayalu __ R-help@r-project.org mailing list

Re: [R] Error is coming as NULL

2012-01-23 Thread Duncan Murdoch
On 12-01-23 8:11 AM, Sri krishna Devarayalu Balanagu wrote: Hi all, A small problem raising. Suppose the follow raw data is stored in a csv file. And the error is coming as NULL with the following code. Can you please help? Thank you in advance. SUBJCET You have a typo in the heading line.

Re: [R] Error is coming as NULL

2012-01-23 Thread Sarah Goslee
There's no column in FD named SUBJECT In your example data it's named SUBJCET, not the same. It's also possible that R didn't automatically recognize the first row as column names, and you need to add header=TRUE to the read.csv() command. In either case, you can see the actual column names of yo

[R] Error is coming as NULL

2012-01-23 Thread Sri krishna Devarayalu Balanagu
Hi all, A small problem raising. Suppose the follow raw data is stored in a csv file. And the error is coming as NULL with the following code. Can you please help? Thank you in advance. SUBJCET 1Ito 1Ito 1Ito 1Ito 1Ito 1Ito read.csv(