Re: [R] data$ID -> I always get a NULL

2009-04-20 Thread Grześ
Now everything is clear for me. Thanks David! :) David Winsemius wrote: > > > On Apr 20, 2009, at 4:33 AM, Grześ wrote: > >> >> This is my result: >> >>> class(data) >> [1] "data.frame" >> >>> str(data) >> 'data.frame':2193 obs. of 83 variables: >> $ X.ID.

Re: [R] data$ID -> I always get a NULL

2009-04-20 Thread David Winsemius
On Apr 20, 2009, at 4:33 AM, Grześ wrote: This is my result: class(data) [1] "data.frame" str(data) 'data.frame': 2193 obs. of 83 variables: $ X.ID. : Factor w/ 2193 levels "'18201'",..: 1 2 3 4 5 6 7 8 9 10 ... $ X.kod. : Factor

Re: [R] data$ID -> I always get a NULL

2009-04-20 Thread Grześ
This is my result: > class(data) [1] "data.frame" > str(data) 'data.frame': 2193 obs. of 83 variables: $ X.ID. : Factor w/ 2193 levels "'18201'",..: 1 2 3 4 5 6 7 8 9 10 ... $ X.kod. : Factor w/ 20 levels "'01'","'02'",..: 1 1 1 1 1 1 1 1

Re: [R] data$ID -> I always get a NULL

2009-04-19 Thread David Winsemius
On Apr 19, 2009, at 6:45 PM, Grześ wrote: I have database write as .csv file. The external sorage format is not likely to be relevant. What might be informative would be to produce the code that reads this file. When I want to get sth from my database I get NULL, but I know that there

[R] data$ID -> I always get a NULL

2009-04-19 Thread Grześ
I have database write as .csv file. When I want to get sth from my database I get NULL, but I know that there is sth! For example: > data$ID NULL > data$kod NULL but command like below is always recognize by R > data[2,3] [1] '082' In my opinion this problem is also connect with my attempt to