Learn R Programming

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

foreign (version 0.8-81)

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

99,689

Version

0.8-81

License

GPL (>= 2)

Last Published

December 22nd, 2020

Functions in foreign (0.8-81)

read.mtp

Read a Minitab Portable Worksheet
read.dbf

Read a DBF File
read.spss

Read an SPSS Data File
read.epiinfo

Read Epi Info Data Files
lookup.xport

Lookup Information on a SAS XPORT Format Library
read.arff

Read Data from ARFF Files
read.dta

Read Stata Binary Files
read.octave

Read Octave Text Data Files
read.ssd

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

Read an S3 Binary or data.dump File
write.dta

Write Files in Stata Binary Format
write.arff

Write Data into ARFF Files
write.dbf

Write a DBF File
write.foreign

Write Text Files and Code to Read Them
read.systat

Obtain a Data Frame from a Systat File
read.xport

Read a SAS XPORT Format Library