EpiData also produces data in this format.įunction read.mtp imports a ‘Minitab Portable Worksheet’. write.foreign (See Export to text files) provides an export mechanism with support currently for SAS, SPSS and Stata.ĮpiInfo versions 5 and 6 stored data in a self-describing fixed-width text format. In some cases these functions may require substantially less memory than read.table would. The recommended package foreign provides import facilities for files produced by these statistical systems, and for export to Stata. In all cases the facilities described were written for data files from specific versions of the other system (often in the early 2000s), and have not necessarily been updated for the most recent versions of the other system.ģ.1 EpiInfo, Minitab, S-PLUS, SAS, SPSS, Stata, Systat This is often best avoided, but may be unavoidable if the originating system is not available.
In this chapter we consider the problem of reading a binary data file written by another statistical system.
Chapter 3 Importing from other statistical systems