[R] library(foreign) read.spss warning

Ista Zahn izahn at psych.rochester.edu
Sat Mar 26 00:49:42 CET 2011


There are many similar questions on R-help over the years, and in
other places around the 'net. Try a google search.

Best,
Ista

On Fri, Mar 25, 2011 at 7:39 PM, Robert Baer <rbaer at atsu.edu> wrote:
> 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 because I don't know how to translate type 7, subtype 21.  I did not generate the SPSS data so I'm not certain of the version, but I'm assuming version 18 or 19.  I did a quick Find on the PSPP manual for Type 7 and subtype 21 and came up dry.
>
> Any insights or clues how I might learn more?
>
> Thanks,
> Rob
>
>
>> R.Version()
> $platform
> [1] "i386-pc-mingw32"
>
> $arch
> [1] "i386"
>
> $os
> [1] "mingw32"
>
> $system
> [1] "i386, mingw32"
>
> $status
> [1] ""
>
> $major
> [1] "2"
>
> $minor
> [1] "12.2"
>
> $year
> [1] "2011"
>
> $month
> [1] "02"
>
> $day
> [1] "25"
>
> $`svn rev`
> [1] "54585"
>
> $language
> [1] "R"
>
> $version.string
> [1] "R version 2.12.2 (2011-02-25)"
>
>
>
> ------------------------------------------
> Robert W. Baer, Ph.D.
> Professor of Physiology
> Kirksville College of Osteopathic Medicine
> A. T. Still University of Health Sciences
> Kirksville, MO 63501
> 660-626-232
> FAX 660-626-2965
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org



More information about the R-help mailing list