Handling Systat, Spss, Minitab and SAS data files with R
If you are starting to use R is probable that you have many files in the native format of your old (often closed) statistical package. This sometimes creates impairments for the beginning R user, as many thinks you have to convert the files to a R understandable format, such as txt or csv. However, R comes with a package that can handle data stored in minitab, S, SAS, SPSS, Stata, Systat, dBase formats. The “foreign” package enables you to work on your old statistical package format.
For this you need to type:
and follow a specific reading command of your data file format; for example for a Systat *.sys or *.syd files you will need to use the command:
For example if you need to handle a Systat file called poisonfrog.syd you migth create a vector using the above command as follows:
data_poisonfrog <- read.systat(“poisonfrog.syd”, to.data.frame = T )
You can get more by reading the foreign package manual.
Try it and enjoy your work data on a R session!