Learn R Programming

⚠️There's a newer version (0.8-87) of this package.Take me there.

foreign (version 0.8-71)

Read Data Stored by 'Minitab', 'S', 'SAS', 'SPSS', 'Stata', 'Systat', 'Weka', 'dBase', ...

Description

Reading and writing data stored by some versions of 'Epi Info', 'Minitab', 'S', 'SAS', 'SPSS', 'Stata', 'Systat', 'Weka', and for reading and writing some 'dBase' files.

Copy Link

Version

Install

install.packages('foreign')

Monthly Downloads

115,416

Version

0.8-71

License

GPL (>= 2)

Last Published

July 20th, 2018

Functions in foreign (0.8-71)

read.dta

Read Stata Binary Files
read.arff

Read Data from ARFF Files
read.dbf

Read a DBF File
read.octave

Read Octave Text Data Files
S3 read functions

Read an S3 Binary or data.dump File
lookup.xport

Lookup Information on a SAS XPORT Format Library
write.arff

Write Data into ARFF Files
write.dbf

Write a DBF File
write.foreign

Write Text Files and Code to Read Them
write.dta

Write Files in Stata Binary Format
read.ssd

Obtain a Data Frame from a SAS Permanent Dataset, via read.xport
read.mtp

Read a Minitab Portable Worksheet
read.epiinfo

Read Epi Info Data Files
read.spss

Read an SPSS Data File
read.systat

Obtain a Data Frame from a Systat File
read.xport

Read a SAS XPORT Format Library