similar to: Help importing data from SPSS

Displaying 20 results from an estimated 90000 matches similar to: "Help importing data from SPSS"

2010 Apr 30
1
Ayuda exportar a SPSS
Hola Nose si alguien podría ayudarme a conocer por qué me sale este error cuando trato de convertir archivos de spss a R: Error en read.spss(file, use.value.labels = use.value.labels, to.data.frame = to.data.frame, : error reading portable-file dictionary Además: Warning message: In read.spss(file, use.value.labels = use.value.labels, to.data.frame = to.data.frame, : Bad character in time
2008 Jan 06
3
Importing data
Hi, I'm trying to import categorical data from SPSS to R using the script: xxx <-spss.get("xxx.por", use.value.labels=TRUE) but unfortunately am getting an error message 'error reading portable-file dictionary'. I have successfully imported data in the past. What could be the problem with this data? Thanks Simo
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 Apr 23
0
Re:Importing SPSS Data Entry data files
On 16 Apr, Unung Istopo Hartanto asked about using R library 'foreign' to import SPSS Data Entry data files. SPSS Data Entry is an application that allows for the creation of formatted data entry forms (as does EpiInfo, Epidata and CSPro (all free downloads)). As such it creates the usual SPSS data files, but adds forms information, which the 'foreign' package does not know how
2005 Nov 28
1
read.spss problem
Hello, I am having trouble reading an spss file into R. I have reset my working directory to the folder where this file is stored. This is what I've typed into R and the error message I received: + getwd() [1] "/Users/daviacox/Graduate School/PLS 801" > read.spss("norwil.spss") Error in read.spss("norwil.spss") : error reading portable-file dictionary
2006 Mar 30
1
SPSS dictionary information data bases
Hi, Does anybody know how to obtain the same information as the SPSS command "DISPLAY DICTIONARY". I know the read.spss function in the package foreign, but it doesn't give either the missing values defined by the user under SPSS or the format variables (for example if they are dates or not). Thanks in advance. Isaac Subirana (isubirana@imim.es) [[alternative HTML
2009 Jan 07
1
Importing data from SPSS with Arabic encoding
Dear R-users, I'm facing a problem with the import of data in R. I have a sav file that, I presume, uses some Arabic encoding (but I don't know which one) and I would like to read it with R. When I use the function read.spss (I also tried spss.get(Hmisc)), I get the following message: > read.spss("Hhld.sav") Erreur dans read.spss("Hhld.sav") : erreur ? la lecture
2013 Oct 28
0
Code Book from SPSS Data
Not certain about .por but this works with ordinary SPSS files: require(Hmisc) dat <- spss.get(...) # gets variable labels, etc. contents(dat) html(contents(dat), ...) The last command produces a hyperlinked data dictionary, e.g., for each variable the number of levels is given and you click on that number to see the levels. Variables having the same levels are combined in the latter
2007 Dec 10
0
Error in read.spss() for .por files
Hi, There are two unanswered reports of this error (below) in read.spss() when used with a .por file. I had the same problem and in order to successfully read the file into R I downloaded spss, saved the data as .dat tab-delimited, and then used read.table(). The point is that spss successfully read the same .por data file (the Polity II data freely available from ICPSR) that R couldn't
2010 May 31
1
help with importing SPSS file
Hi, I have a SPSS .sav file which contains a database of multiple tables, and each table contains multiple variables. I used read.spss function to load the data A<-read.spss("datafile.sav",to.data.frame = TRUE) I see variable names, but do not know how to retrieve the table (or all the variables corresponding to a table). -sophia
2009 Feb 18
2
Running out of memory when importing SPSS files
Hello R-help, I am trying to import a large dataset from SPSS into R. The SPSS file is in .SAV format and is about 1GB in size. I use read.spss to import the file and get an error saying that I have run out of memory. I am on a MAC OS X 10.5 system with 4GB of RAM. Monitoring the R process tells me that R runs out of memory when reaching about 3GB of RAM so I suppose the remaining 1GB is used up
2008 Nov 24
2
how to read .sps (SPSS file extension)?
Hi everyone, I'm trying to import .sps (SPSS portable file) file. the read.spss function (library foreign) doesn't allow to import such files. should I import in spss and then save as sav file? there is not other solutions available? what I mostly like from spss file is that they have variable labels. want is really wish to keep are the variable.labels from the spss file; so, if there is a
2006 Feb 19
2
Converting factors back to numbers. Trouble with SPSS import data
I'm using Fedora Core 4, R-2.2. The basic question is: can one recover the numerical values used in SPSS after importing data into R with read.spss from the foreign library? Here's why I ask. My colleague sent an SPSS data set. I must replicate some results she calculated in SPSS and one problem is that the numbers used in SPSS for variable values are not easily recovered in R. I'm
2010 Aug 25
1
accessing the attr(*,label.table) after importing from spss
Dear all, I just received a file from a colleague in spss. The read.spss could not finish the file due to an error (Unrecognized record type 7, subtype 18 encountered in system file) so instead I converted the file using stat-transfer. Looking at my data I see that most labels are in the attributes and I?d love to access them and assign the pertinent variables to factors without doing the whole
2008 Aug 01
1
importing explicitly declared missing values in read.spss (foreign)
There is a problem when importing an spss-file containing explicitly declared missing values in R using the read.spss function from the foreign package. I'm not sure these problems are the same in every version of spss, I am using the latest version 16.0.2. I included http://www.nabble.com/file/p18776776/missingdata.sav missingdata.sav and
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:
2008 Jul 18
5
Reading SPSS .por files
Does anyone know how to read SPSS .por (ie Portable) files? The foreign package only deals with SPSS .sav files and not with those with a "por" extension. Thanks, José Mr José Luis Iparraguirre D'Elia Senior Research Economist Economic Research Institute of Northern Ireland Floral Buildings 2 - 14 East Bridge Street Belfast BT1 3NQ Northern Ireland United Kingdom
2011 Feb 04
3
Importing dates from SPSS file
Hello all, kind regards, I have imported a data.frame from SPSS using "foreign":read.spss but unfortunately it is reading dates in a way neither R nor myself can understand. > book$DATE [1] 13502246400 13443321600 13477795200 13472956800 13501728000 13445395200 13501382400 13502851200 13444185600 13461465600 13457232000 [12] 13458096000 13432435200 13431484800 13495334400
1998 Mar 17
1
R-beta: exchanging data between R/Splus and SPSS
Hi, is there any way to exchange (A LOT OF) data between SPPS and R/Splus, i.e., I want to get data from SPSS into R. It is a huge data frame with many columns being factors, so manual conversion is out of question (and there are more data to come). Exporting ASCII from SPSS seems to loose all level names, and the portable SPSS format doesn't look too nice. I've searched S-news and
2010 Dec 06
3
Please help with write.foreign(SPSS)
Dear all, I get stuck when i try to export the data into SPSS format/file using "write.foreign()" Do you know how to do it exactly? What i have done is 1) First i type the following code in R: df<-data.frame(id,year,res1) names(df)<-c("idcode","year","resarrvl")