read.spss {foreign}R Documentation

Read an SPSS data file

Description

read.spss reads a file stored by the SPSS save and export commands and returns a list.

Usage

read.spss(file)

Arguments

file character variable with the name of the file to read.

Details

This uses modified code from the PSPP project for reading the SPSS formats.

Value

A list with one component for each variable in the saved data set.

Author(s)

Saikat DebRoy

Examples


read.spss("datafile")