similar to: Get missinfg values with dataframe using read.spss

Displaying 20 results from an estimated 20000 matches similar to: "Get missinfg values with dataframe using read.spss"

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
2011 Oct 11
4
need help on read.spss
Hi, I have one doubt about one of the parameter of 'read.spss()' from 'foreign' package. Here is the syntax :- read.spss ( file, use.value.labels = TRUE, to.data.frame = FALSE, max.value.labels = Inf, trim.factor.names = FALSE, trim_values = TRUE, reencode = NA, use.missings = to.data.frame ) In above syntax when I pass *'to.data.frame=
2012 Jun 25
1
read.spss function
Hi dear all, I am trying to import a dataset from SPSS into R (R x64 2.15.0). I used both   read.spss("D:/Untitled2.sav", use.value.labels = TRUE, to.data.frame = TRUE, max.value.labels = Inf, trim.factor.names = FALSE,trim_values = TRUE, reencode = NA, use.missings = to.data.frame) & read.spss("D:\\Untitled2.sav", to.data.frame = TRUE, stringsAsFactors = FALSE)   but the
2008 Aug 25
4
R for Windows GUI closes when I try to read.spss
** High Priority ** I have been trying to read an SPSS file into R using read.spss ("C:/Documents and Settings/Roderick Harrison/My Documents/RWORK/ihisdat.sav", use.value.labels = TRUE, to.data.frame = FALSE, max.value.labels = 500, trim.factor.names = FALSE, trim_values = TRUE, reencode = NA, use.missings = to.data.frame) Each time (at least 5 or 6 by now) I get the following
2011 Nov 23
2
SPSS F-test on change in R square between hierarchical models
Hi, I am wondering if anyone knows how to perform an F-test on the change in R square between hierarchical models in R? SPSS provides this information and a researcher that I am working with is interested in getting this information. Alternatively, if someone knows how I can calculate the test statistic (SPSS calls it F-change?) and dfs that would be helpful as well. The output and the test I am
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 there any way in R to find out if any value was user-defined missing
2005 May 26
2
read.spss in R 2.1.0 & make basic dataframe
Recent changes to read.spss() in the foreign package return a dataframe containing additional attributes. For example, >TEMP<-read.spss(choose.files(), to.data.frame=T,use.value.labels=F) > str(TEMP) `data.frame': 780 obs. of 8 variables: $ EXPOS01: atomic 1 1 2 1 2 3 2 4 2 1 ... ..- attr(*, "value.labels")= Named num 5 4 3 2 1 .. ..- attr(*,
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 get R's Intercept to match
2008 Sep 27
1
A Book for SAS, SPSS and R students
Hi List, I had the pleasure of taking Dr Bob Muenchen's interview for his upcoming book R For SAS and SPSS users. He has spent 27 years in this field while I have spent almost that much on earth. So this is more like a fan blog interview. I thought it would be of use to people curious about R, or even SAS , or SPSS if they have not worked on either of these packages before. Having fought my
2009 Jun 09
3
SECOND MESSAGE: Re: Question about R an SPSS
Sent: Sunday, June 07, 2009 5:43 PM Subject: Question about R an SPSS Dears Sirs: Venables, Smith and R-Development Core Team I am reading about the functional features of R statistical software, because I want to compare these progarm with the basic module of SPSS software. I would like to know if the R version 2.9.0 application is capable of read and procces entry files
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 Oct 26
1
read.spss Error reading system-file header
Hi Jake, I had and still have got the same problem. There were two columns in the data frame which contain just missing values. When I deleted those the impord seemed to work, but there is still a warning message. Warning message: C:\test.sav: Unrecognized record type 7, subtype 13 encountered in system file. > Jake Wegelin wrote: > Is there any documentation on what kind of 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
2012 Feb 15
1
read.spss issues
Someone supplied me with a small SPSS datafile that caused a buffer overflow and then a crash when reading it in R. It seems like a pretty serious issue to me. Unfortunately I can't supply the dataset at hand and I have a hard time reproducing it with a toy example. But I found at least 2 issues that might be related. The first one is that when the spss dataset has a 'string' variable
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
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
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
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 to 13264300800 we deduce that the origin must be spss.orig <-
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
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]]