Learn R Programming

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

foreign (version 0.8-83)

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

92,037

Version

0.8-83

License

GPL (>= 2)

Last Published

September 28th, 2022

Functions in foreign (0.8-83)

read.dbf

Read a DBF File
lookup.xport

Lookup Information on a SAS XPORT Format Library
read.arff

Read Data from ARFF Files
read.spss

Read an SPSS Data File
read.ssd

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

Read Stata Binary Files
S3 read functions

Read an S3 Binary or data.dump File
read.octave

Read Octave Text Data Files
read.mtp

Read a Minitab Portable Worksheet
read.epiinfo

Read Epi Info Data Files
write.dbf

Write a DBF File
read.xport

Read a SAS XPORT Format Library
write.foreign

Write Text Files and Code to Read Them
write.arff

Write Data into ARFF Files
write.dta

Write Files in Stata Binary Format
read.systat

Obtain a Data Frame from a Systat File