RDocumentation
Moon
Learn R
Search all packages and functions
⚠️
There's a newer version (0.8-86) of this package.
Take me there.
foreign (version 0.5-12)
Read data stored by Minitab, S, SAS, SPSS, Stata, ...
Description
Functions for reading and writing data stored by statistical packages such as Minitab, S, SAS, SPSS, Stata, ...
Copy Link
Copy
Link to current version
Version
Version
0.8-86
0.8-85
0.8-84
0.8-83
0.8-82
0.8-81
0.8-80
0.8-79
0.8-78
0.8-76
0.8-75
0.8-74
0.8-73
0.8-72
0.8-71
0.8-70
0.8-69
0.8-68
0.8-67
0.8-66
0.8-65
0.8-64
0.8-63
0.8-62
0.8-61
0.8-60
0.8-59
0.8-58
0.8-57
0.8-56
0.8-55
0.8-54
0.8-53
0.8-52
0.8-51
0.8-50
0.8-49
0.8-48
0.8-47
0.8-46
0.8-45
0.8-44
0.8-42
0.8-41
0.8-40
0.8-39
0.8-38
0.8-37
0.8-36
0.8-35
0.8-34
0.8-33
0.8-32
0.8-31
0.8-30
0.8-29
0.8-28
0.8-27
0.8-26
0.8-25
0.8-24
0.8-23
0.8-22
0.8-21
0.8-20
0.8-19
0.8-18
0.8-17
0.8-16
0.8-15
0.8-14
0.8-13
0.8-12
0.8-11
0.8-10
0.8-9
0.8-8
0.8-7
0.8-6
0.8-5
0.8-4
0.8-3
0.8-2
0.8-1
0.8-0
0.7
0.6-11
0.6-10
0.6-9
0.6-8
0.6-6
0.6-3
0.6-2
0.6-1
0.5-13
0.5-12
0.5-11
0.5-10
0.5-9
0.5-8
0.5-7
0.5-6
0.5-5
0.5-4
0.5-3
0.5-2
0.4-9
0.4-8
0.4-7
0.4-6
0.4-5
0.4-3
0.2-8
0.2-5
0.1-3
0.1-2
0.1-1
Down Chevron
Install
install.packages('foreign')
Monthly Downloads
83,451
Version
0.5-12
License
GPL version 2 or later
Maintainer
R-core R-core@R-project.org
Last Published
April 22nd, 2003
Functions in foreign (0.5-12)
Search functions
read.dta
Read Stata binary files
write.dta
Write files in Stata binary format
read.epiinfo
Read Epi Info data files
read.ssd
obtain a data frame from a SAS permanent dataset, via read.xport
read.spss
Read an SPSS data file
lookup.xport
Lookup information on a SAS XPORT format library
read.mtp
Read a Minitab Portable Worksheet
read.xport
Read a SAS XPORT format library
S3 read functions
Read an S3 Binary File