similar to: R-beta: exchanging data between R/Splus and SPSS

Displaying 20 results from an estimated 10000 matches similar to: "R-beta: exchanging data between R/Splus and SPSS"

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:
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)
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
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:
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
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
2000 Dec 12
1
An SPSS save file for testing
Saikat DebRoy is working on a revised "foreign" package (currently in the src/contrib/Devel area on CRAN) that will include the ability to read the SPSS save format. Since we don't use SPSS we don't have easy access to a sample data set and have been using PSPP (see http://pspp.stat.wisc.edu/) to generate test data. It would be more realistic to have a small, redistributable
2003 Dec 11
2
read.spss question warning compression bias
Hello again I have a file from SPSS in .sav format. when I run library(foreign) cvar<-as.data.frame(read.spss("c:\\NDRI\\cvar\\data\\cvar2rev3.sav")) I get a warning Warning message: c:\NDRI\cvar\data\cvar2rev3.sav: Compression bias (0) is not the usual value of 100. The data appear to be OK, but I am concerned. (I tried searching the archives and the documenation for data
1998 Jan 30
2
R-beta: Submissions to CRAN
As mentioned earlier I want to decentralize the package descriptions of all contributed packages: Please make sure to include a file called DESCRIPTION in every package which looks like: ********************************************************** Package: e1071 Version: 0.7-3 Author: Compiled by Fritz Leisch <Friedrich.Leisch at ci.tuwien.ac.at>. Description: Miscellaneous functions used
1998 Jan 30
2
R-beta: Submissions to CRAN
As mentioned earlier I want to decentralize the package descriptions of all contributed packages: Please make sure to include a file called DESCRIPTION in every package which looks like: ********************************************************** Package: e1071 Version: 0.7-3 Author: Compiled by Fritz Leisch <Friedrich.Leisch at ci.tuwien.ac.at>. Description: Miscellaneous functions used
1998 Jan 30
2
R-beta: Submissions to CRAN
As mentioned earlier I want to decentralize the package descriptions of all contributed packages: Please make sure to include a file called DESCRIPTION in every package which looks like: ********************************************************** Package: e1071 Version: 0.7-3 Author: Compiled by Fritz Leisch <Friedrich.Leisch at ci.tuwien.ac.at>. Description: Miscellaneous functions used
1997 Jun 09
1
R-beta: mlbench-0.1 --- machine learning benchmark problems
I've made a package from some benchmark datasets for use with R and uploaded it to CRAN. Here's the Index entry: mlbench-0.1.tar.gz: A collection of artificial and real-world machine learning benchmark problems, including, e.g., the boston housing data from the UCI repository. Written/packaged by Fritz Leisch <Friedrich.Leisch at ci.tuwien.ac.at> Original data sets from
1997 Jun 09
1
R-beta: mlbench-0.1 --- machine learning benchmark problems
I've made a package from some benchmark datasets for use with R and uploaded it to CRAN. Here's the Index entry: mlbench-0.1.tar.gz: A collection of artificial and real-world machine learning benchmark problems, including, e.g., the boston housing data from the UCI repository. Written/packaged by Fritz Leisch <Friedrich.Leisch at ci.tuwien.ac.at> Original data sets from
1997 Jun 09
1
R-beta: mlbench-0.1 --- machine learning benchmark problems
I've made a package from some benchmark datasets for use with R and uploaded it to CRAN. Here's the Index entry: mlbench-0.1.tar.gz: A collection of artificial and real-world machine learning benchmark problems, including, e.g., the boston housing data from the UCI repository. Written/packaged by Fritz Leisch <Friedrich.Leisch at ci.tuwien.ac.at> Original data sets from
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
1997 Jun 09
1
R-beta: compiling R under HP-UX
Hi, I've trouble compiling R-0.49 (with both patches applied) on a HP-UX sim B.10.20 A 9000/819 machine: ranlib ../lib/libappl.a cd regex; make c89 -Ae -g -I../include -DPOSIX_MISTAKE -c regcomp.c cc: warning 422: Unknown option "-Ae" ignored. cc: "../include/regex.h", line 50: error 1000: Unexpected symbol: "regoff_t". cc:
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
2008 May 10
1
problem reading .por SPSS file
Hello, I've a .por file from 1998. I've tried to read it with library(foreign) read.spss("mhp_hu.por") at this point R simply stops working and my whole system is close to unusable I've found one related thread, but even there no real solution was given https://stat.ethz.ch/pipermail/r-help/2007-February/125071.html Unfortunately, I have no SPSS, and I can't convert