[R] R for Windows GUI closes when I try to read.spss

Roderick Harrison RHarrison at jointcenter.org
Tue Aug 26 18:43:56 CEST 2008


Can't thank you enough!  This worked!  

>>> "N'DOYE Souleymane" <ndoye.souleymane at gmail.com> 8/26/2008 1:20 AM >>>
Hi Roderick,

Let me suggest you to save your spss file in txt, and use the read.table or
read.csv fonction. That is how I proceed.

I hope it will help you,
Best regards





On Mon, Aug 25, 2008 at 7:39 PM, Roderick Harrison <
RHarrison at jointcenter.org> wrote:

> ** 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-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.
>



-- 
Souleymane N'DOYE, M.Sc.

Statistician Engineer & Decision Support System Consultant
www.labstatconseil.com 
souleymane.ndoye at labstatconseil.com 
P.O. Box 1601 * 00606 Sarit Center, Nairobi, Kenya
Mobile : +254 736 842 478.



More information about the R-help mailing list