The haven package provides functions for importing data from a variety of statistical packages.
library(haven)# import data from StataSalaries <-read_dta("data/salaries.dta")# import data from SPSSSalaries <-read_sav("data/salaries.sav")# import data from SASSalaries <-read_sas("data/salaries.sas7bdat")