search for: spss

Displaying 20 results from an estimated 1172 matches for "spss".

Did you mean: mpss
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 readi...
2012 Sep 08
3
Can I make spss.get reencode from Windows-1252?
Hi all. I have an SPSS file that I'm loading into R with the Hmisc spss.get function. The trouble is that the SPSS file uses the Windows-1252 character set (which I think is the default for SPSS on Windows) instead of plain-ol' Latin-1, and since spss.get doesn't allow me to pass the "reencode" opti...
2012 Mar 26
2
SPSS R-Menu for Ordinal Factor Analysis
Dear all, I am trying to conduct an enhanced version of factor analysis with a SPSS interface that allows to use R. This approach has been suggested in the recent article: Basto, M. and J.M. Pereira An SPSS R-Menu for Ordinal Factor Analysis. Journal of Statistical Software 46, pp. 1-29. My variables are ordinal-type and the tool of Basto allows to run polychoric correlation...
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 the read.spss function in package...
2008 Apr 15
2
How can I import user-defined missings from Spss?
Hi, It works for me to import spss datasets via library(foreign) with read.spss or via library Hmisc by (spss.get). But no matter which way I do import the data, user-defined missings from Spss are always lost. (it makes no difference if there are a single value, a range, or any combination of them. They are always ignored). Is the...
2004 Mar 12
6
read.spss
Hi, I would like to read a spss file in R. When i type read.spss("...") Comes the error: couldn't find function "read.spss" What shall i do? Margarida [[alternative HTML version deleted]]
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")...
2009 Mar 03
1
SPSS data import: problems & work arounds for GSS surveys
...n 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: http://www.norc.org/GSS+Website/Download/SPSS+Format/). When I try to import using foreign, I get an error like so: > library(foreign) > dat <- read.spss("gss2006.sav", to.data.frame=T, trim.factor.names=T) Error in inherits(x, "factor") :...
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 Brid...
2007 Feb 10
1
SAS, SPSS Product Comparison Table
Hi All, My paper "R for SAS and SPSS Users" received a bit more of a reaction than I expected. I posted the link (http://oit.utk.edu/scc/RforSAS&SPSSusers.pdf) about 12 days ago on R-help and the equivalent SAS and SPSS lists. Since then people have downloaded it 5,503 times and I've gotten lots of questions along the lin...
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
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 v...
2005 Nov 21
5
SPSS and R – do they like each other?
Hi, I wonder how well SPSS and R communicate, because I need SPSS but would like to do some data manipulations in R. However I am very afraid of never ending import-export-complications ? especially with all those labels and extra information my SPSS files contain. My data come from SPSS and have to be exported to SPSS again...
2004 Jul 26
3
Read SPSS data (*.sav) in R 1.8.0 (ok) and R1.9.1(error)
Hallo! I read SPSS data in the following way: library(Hmisc) library(foreign) dat<-spss.get("surv_abb.sav") In R1.9.1 I got the message: "Error in all(arg == choices) : Object "typeDate" not found" In R1.8.0 the same script works fine. Does anybody know a possibilty to read a SPSS...
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 in read.spss("dataDef.sav") : Calloc could not allocate (-2147483648 o...
2006 Jan 11
3
SPSS and R ? do they like each other?
... and is there also such a nice tool (like spss.get) for exporting data frames to SPSS? write.table does not keep the data frame labels - neither did the other exporting tools that I found. Thanks! Michael [[alternative HTML version deleted]]
2003 May 06
2
R vs SPSS output for princomp
Hi, I am using R to do a principal components analysis for a class which is generally using SPSS - so some of my question relates to SPSS output (and this might not be the right place). I have scoured the mailing list and the web but can't get a feel for this. It is annoying because they will be marking to the SPSS output. Basically I'm getting different values for the component load...
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...
2008 Oct 11
2
R vs SPSS contrasts
Hi Folks, I'm comparing some output from R with output from SPSS. The coefficients of the independent variables (which are all factors, each at 2 levels) are identical. However, R's Intercept (using default contr.treatment) differs from SPSS's 'constant'. It seems that the contrasts were set in SPSS using /CONTRAST (varname)=Simple(1) I can...
2004 Mar 03
2
read.spss and time/date information
I don't use SPSS but following through on your detective work can provide the likely answer. First note that both date numbers are evenly divisible by the number of seconds in a day, i.e. 24*60*60. This suggests that these numbers are seconds since some origin. Since we know "2003/02/11" corresponds...