[R] problem loading spss-files

Bilonick, Richard Anthony rab45 at pitt.edu
Mon May 1 16:18:16 CEST 2017


I pasted some of the error/warning message into Google and among other things:


http://stackoverflow.com/questions/21228518/what-is-attr-value-labels-when-reading-spss-into-r


This might begin to explain what is happening. Is a data.frame created?


Rick B.

________________________________
From: R-help <r-help-bounces at r-project.org> on behalf of Siouxsie <siouxsie at posteo.ch>
Sent: Monday, May 01, 2017 6:23 AM
To: R help
Subject: [R] problem loading spss-files

after updating R from 3.3.3. to 3.4.0 i cannot import spss-data files
anymore. for the european social survey (europeansocialsurvey.org) i get
this warning:
re-encoding from CP1252
Fehler in levels<-(*tmp*, value = if (nl == nL) as.character(labels)
else paste0(labels, :
factor level [3] is duplicated
Zusätzlich: Warnmeldung:
In read.spss(file, use.value.labels = use.value.labels, to.data.frame =
to.data.frame, :
//filepath/ESS7CH.sav: Unrecognized record type 7, subtype 18
encountered in system file

using the package foreign does the same.

______________________________________________
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-help&data=01%7C01%7Crab45%40pitt.edu%7C8c4c5ed34ae94d3df7d208d4908f3bd2%7C9ef9f489e0a04eeb87cc3a526112fd0d%7C1&sdata=FolAovtD1w5XU%2BBcEDGu7DLbRYGJIcEDWu%2BUCl9j9tA%3D&reserved=0
PLEASE do read the posting guide https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.R-project.org%2Fposting-guide.html&data=01%7C01%7Crab45%40pitt.edu%7C8c4c5ed34ae94d3df7d208d4908f3bd2%7C9ef9f489e0a04eeb87cc3a526112fd0d%7C1&sdata=xNrROh3MnSgpTaKT%2F6vi4ZT0ffXtmh7DbYh0IadrKa0%3D&reserved=0
and provide commented, minimal, self-contained, reproducible code.

	[[alternative HTML version deleted]]



More information about the R-help mailing list