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 October 2011 11:23, Joshua Wiley <jwiley.ps...@gmail.com> wrote: > 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 have two datasets, one as a list with the missings, one > as a data frame for easy use. > > HTH, > > Josh > > On Sun, Oct 30, 2011 at 10:12 PM, Smart Guy <smartgu...@gmail.com> wrote: > > 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? > > > > Thanks in advance. > > > > > > -- > > SG > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > R-help@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > > > > > -- > Joshua Wiley > Ph.D. Student, Health Psychology > Programmer Analyst II, ATS Statistical Consulting Group > University of California, Los Angeles > https://joshuawiley.com/ > -- SG [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.