similar to: read.spss question warning compression bias

Displaying 20 results from an estimated 11000 matches similar to: "read.spss question warning compression bias"

2009 Mar 03
1
SPSS data import: problems & work arounds for GSS surveys
I'm using R 2.8.1 on Ubuntu 8.10. I'm writing partly to ask what's wrong, partly to tell other users who search that there is a work around. The General Social Survey is a long standing series of surveys provided by NORC (National Opinion Research Center). I have downloaded some years of the survey data in SPSS format (here's the site:
2009 Oct 10
7
SPSS long variable names
Hello guys I am new to this list and for R too. I am wondering if there is a patch for the SPSS reading code on the foreign package, in order to be able to read long variable names. Right now read.spss() just trunc the names to 8 characters. Or if someone could help me on other way: I have to process everyday a lot of SPSS Syntax Files and Dat files that come from one system that can only export
2010 Sep 28
2
Problema con read.spss
Hola, Tengo problemas a la hora de cargar un archivo que originalmente está en SPSS. Trabajo con Fedora y uso R mediante el plugin Rgedit en gedit. Además en Fedora no tengo SPSS, sino PSPP Para cargar el archivo he probado estas dos cosas (escribo también el mensaje de error que me genera R): >library_(foreign) >read.spss("guille.sav",to.data.frame = T) Error en
2007 Feb 16
1
SPSS and library(foreign)
Hi, I have a valid SPSS .sav file (which I can open happily in SPSS v11 on Windows XP). Opening it in R2.41 on Linux we get this message :- > HSE3023 <- read.spss("HSE.sav") Error in read.spss("HSE.sav") : error reading system-file header In addition: Warning message: HSE.sav: Variable X234 indicates variable label of invalid length 256 Now variable X234 has indeed a
2011 Mar 25
2
library(foreign) read.spss warning
I got the following: > library(foreign) > swal = read.spss("swallowing.sav", to.data.frame =TRUE) Warning message: In read.spss("swallowing.sav", to.data.frame = TRUE) : swallowing.sav: Unrecognized record type 7, subtype 21 encountered in system file > The bulk of the data seems to read in a usable form, but I'm curious about what might be getting lost
2007 Apr 05
1
some SPSS 15 files wont open in R 2.4.0
Trying to open some SPSS .sav files (saved with SPSS 15) gives the following: read.spss('/data/big/unzipped_ukda/seh3767/3767SPSS_570D6A086C9A1B0636F13255F25A58C1/prgrp95.sav') Error in read.spss("/data/big/unzipped_ukda/seh3767/3767SPSS_570D6A086C9A1B0636F13255F25A58C1/prgrp95.sav"): error reading system-file header In addition: Warning message:
2006 Jul 31
3
read.spss 'error reading system-file header'
When I try to import an spss sav file with read.spss() I am getting the following error 'Error in read.spss("X:\\xxxx.sav") : error reading system-file header' and the import process is aborted. I have tried in v. 2.3.0 and 2.3.1 The sav-file loads without problems in spss v14 I have tried saving in older spss v7 but are getting the same result. The read.spss() has other
2016 Feb 29
4
problema al importar una BD que esta en formato de SPSS
Estimados, tengo que hacer un calculo muy simple, pero con una BD mas o menos grande (250mil filas x 500 columnas) ... esta BD esta en formato de SPSS y la importo asi: library(foreign) bdr <- read.spss("CASEN_2013_MN_B_Principal.sav", use.value.labels=FALSE, to.data.frame=TRUE) luego, quiero transformar el DF en un data.tale pues el calculo requiere obtener promedios de
2003 Nov 04
5
read.spss Error reading system-file header
Is there any documentation on what kind of SPSS file can and cannot be read by read.spss? Alternatively, how can one modify or "clean" an SPSS file to make it readable by read.spss? What properties must a *.sav file before read.spss can read it? The file in this example is 270KB, with 5 rows and 173 columns. I have no trouble reading larger files with read.spss, so it's not
2008 Jul 02
2
spss long labels
Hi, A frequently seen issue with importing SPSS data files, is that R does not import the 'long variable names'. I built a patch on the R-project's foreign module, in order to import the 'long variable names' from SPSS (record 7, subtype 13). To complete the job, I had to expand the "struct variable" definition to have 64 +1 charachters. I'm not aware of side
2004 Jan 16
2
Weird problem with trying to change a variable
I have a dataframe called cvar, with two variables (among many others) called MSA and ACTUP. Both are numeric. This was working fine. Then I found out that for two MSAs, ACTUP should be 1, not 0. so I tried cvar$ACTUP[cvar$MSA == 6840] <- 1 cvar$ACTUP[cvar$MSA == 5360] <- 1 but when I try table(cvar$MSA, cvar$ACTUP) the level of ACTUP for those two MSAs has not changed, and is still
2005 Oct 11
3
8 char labels in read.spss
I was wondering why it is possible to read long labels from the CVS files but not from the SPSS files. I did not have much time to search for the code but I found: in foreign_0.8-10 source file var.h.in > /* Definition of the max length of a short string value, generally > eight characters. */ > #define MAX_SHORT_STRING ((SIZEOF_DOUBLE)>=8 ? ((SIZEOF_DOUBLE)+1)/2*2 > : 8)
2008 Dec 28
4
SPSS 11.5
Hi! My wife needs the good, old SPSS 11.5 installed on Linux. Thanks to this forum, Wine is running as it should. But now I have a problem with SPSS: After starting the program (installation was no problem), I just see the frame of the window (which is empty - I can see the window behind it), and the first dialog screen in the middle of it. Unfortunately the dialog-screen (there you can open a
2017 Jun 24
4
Problema en lectura de datos. Memoria insuficiente
Buenos días Estoy intentando leer una base de datos correspondiente al World Values Survey desde 1981 a 2014. Contiene variables por columnas, y observaciones correspondientes a individuos de diferentes países. Podría tener como aprox. 1000 variables, y mas de 60,000 individuos por año. Esta es la información que obtengo de mi RStudio. > sessionInfo()R version 3.3.2 (2016-10-31) Platform:
2008 Dec 14
1
re ad.spss (foreign) conflict with SPSS 17 files.
SPSS seems to have changed its default datafile format, resulting in issues for read.spss(). In Windows this results in a warning, in Debian the import completely fails: Debian (R version 2.8.0 (2008-10-20) i486-pc-linux-gnu, foreign_0.8-29) > read.spss("/home/jeroen/samples/Tomato.sav") Error in iconv(names(rval), cp, "") : unsupported conversion from 'CP65001'
2009 Feb 07
2
reading SPSS .sav files (PR#13509)
Full_Name: Roger Newton Version: 2.8.1 OS: windows 2000 Submission from: (NULL) (80.176.228.157) I have an elderly version of SPSS (version 11) which I still use. R Version 2.6.1 would, and still will, read SPSS *.sav files produced by SPSS version 11. R version 2.8.1 which I installed two days ago (05/02/09) reports an error and shuts down when trying to read SPSS version 11 *.sav files using
2003 Aug 10
1
read.spss doesn't work anymore
A couple of months ago, probably using an older version of R, R used to run the following code just fine: library("foreign") data.exp1 <- as.data.frame(read.spss("dataDef.sav")) Issuing the same commands now (after starting R using --vanilla), gives me the following behavior: > library("foreign") > x <- read.spss("dataDef.sav") Error
2012 Dec 03
2
How to read SPSS file in R
Dear R-users, I have som troubles with .sav file. How is it possible for us R-users to read SPSS files. I know that is possible, I tried the following: > library(foreign) > Corp<-read.spss("/Users/kama/Analysis/Corporation.sav", header=TRUE, > sep=",") Error in read.spss("/Users/kama/Analysis/Corporation.sav", header = TRUE, : unused
2007 Apr 05
1
read.spss (package foreign) and SPSS 15.0 files
Hello, does anyone have experience with reading SPSS Version 15.0 files into R (version 2.4.1, WinXP)? I have long been sucessfully reading SPSS files with read.spss from the wonderful foreign package, but somehow after upgrading from SPSS14 to SPSS15 I seem to have problems. Trying a simple example, where test.sav is a SPSS 15.0 data file consisting of x1=c(1,2,3) and
2004 Mar 12
6
still spss
hi again, i still cannot open the file in spss :( i type: library(foreign) read.spss("H:\\Desktop\\bd1\\experiencia1") and the error comes: Error in read.spss("H:\\Desktop\\bd1\\experiencia1") : unable to open file can you help me? margarida,portugal