Re: [R] Get missinfg values with dataframe using read.spss

2011-10-31 Thread Smart Guy
Hi Joshua, Thanks for the help. use.missings=TRUE is not helpful. But yes, I think gettting it as a list and data frame is good idea. I will try that. I am sure it will work. Is there any other way, so that I dont have to keep two copies of same data? Thanks again. Regards, SG On 31 O

Re: [R] Get missinfg values with dataframe using read.spss

2011-10-30 Thread Joshua Wiley
Hi Smart Guy, You can try use.missings = TRUE. I am not sure how well this will work. If you really need it and use.missings = TRUE does not work, I would just read it in as a list, and then maybe create a new data frame based on the list. See ?as.data.frame for a way to do this. Then you could

[R] Get missinfg values with dataframe using read.spss

2011-10-30 Thread Smart Guy
Hi All, Here is my problem. I need to get data frame (and not a list) while reading spss file using read.spss. For which I can put one parameter of read.spss as to.data.frame=TRUE. Now in doing so, I dont get missing values. Is there a way to get missings values along with data frame? T