foreign

This package provides functions for reading data stored by Minitab, S, SAS, SPSS, Stata, Systat, dBase, and so forth.

Functions

FunctionDescription
data.restoreReads binary data files or data.dump files that were produced in S version 3.
lookup.xportScans a file as a SAS XPORT format library and returns a list containing information about the SAS library.
read.SReads binary data files or data.dump files that were produced in S version 3.
read.arffReads data from Weka Attribute-Relation File Format (ARFF) files.
read.dbfReads a DBF file into a data frame, converting character fields to factors and trying to respect NULL fields.
read.dtaReads a file in Stata version 5–10 binary format into a data frame.
read.epiinfoReads data files in the .REC format used by Epi Info versions 6 and earlier and by EpiData. Epi Info is a public-domain database and statistics package produced by the U.S. Centers for Disease Control and Prevention, and EpiData is a freely available data entry and validation system.
read.mtpReturns a list with the data stored in a file as a Minitab Portable Worksheet.
read.octaveReads a file in Octave text data format into a list.
read.spssReads a file stored by the SPSS save or export commands.
read.ssdGenerates a SAS program to convert the ssd contents to SAS transport format and then uses read.xport to obtain a data frame.
read.systatReads a rectangular data file stored by the Systat SAVE command as (legacy) *.sys or, more recently, *.syd files.
read.xportReads a file as a ...

Get R in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.