** High Priority **
I have been trying to read an SPSS file into R using
read.spss ("C:/Documents and Settings/Roderick Harrison/My
Documents/RWORK/ihisdat.sav", use.value.labels = TRUE, to.data.frame =
FALSE, max.value.labels = 500, trim.factor.names = FALSE, trim_values =
TRUE, reencode = NA, use.missings = to.data.frame)
Each time (at least 5 or 6 by now) I get the following Microsoft error
message and the R-Console crashes.
R for Windows GUI front-end has encountered a problem and needs to
close. We are sorry for the inconvenience.
I would greatly appreciate help with this as we need to use R to
estimate confidence intervals for NHIS data, and our deliverable is due
this week.
Thanks in advance.
R for Windows GUI closes when I try to read.spss
3 messages · Roderick Harrison, Peter Dalgaard, N'DOYE Souleymane
Roderick Harrison wrote:
** High Priority **
Well to you, it is... In general people on this list are happy to help, but you need to supply them with something to go on, and there is just nothing here. At the very least, we'd need version numbers and preferably an example of a file that cannot load. On the off-hand guess that you might not have installed R 2.7.2 yet, you might want to try that since it has a couple of changes in read.spss relative to the foreign package from 2.7.1.
I have been trying to read an SPSS file into R using
read.spss ("C:/Documents and Settings/Roderick Harrison/My
Documents/RWORK/ihisdat.sav", use.value.labels = TRUE, to.data.frame =
FALSE, max.value.labels = 500, trim.factor.names = FALSE, trim_values =
TRUE, reencode = NA, use.missings = to.data.frame)
use.missings needs to be TRUE or FALSE, though. It _defaults_ to the same as to.data.frame.
Each time (at least 5 or 6 by now) I get the following Microsoft error message and the R-Console crashes. R for Windows GUI front-end has encountered a problem and needs to close. We are sorry for the inconvenience. I would greatly appreciate help with this as we need to use R to estimate confidence intervals for NHIS data, and our deliverable is due this week. Thanks in advance.
______________________________________________ R-help at 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.
O__ ---- Peter Dalgaard ?ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20080826/327f5cdb/attachment.pl>