![]() ![]() ![]() Failed to load latest commit information. Starting Stata 14, saveold has a version() option, allowing one to save in Stata. Package to read the Stata 13 (and newer) file format into a R ame - GitHub - sjewo/readstata13: Package. Other alternatives, still with Stata, involve exporting the Stata format to something else that R will read, e.g. You can install use13 running ssc install use13. If you have, Stata 10 - 12, you can use the user-written command use13, (by Sergiy Radyakin) to load it and save it there then to R. If you have Stata 13, then you can load it there and save it as a Stata 12 format using the command saveold (see help saveold). There's a new package called Haven, by Hadley Wickham, which can load Stata 13 dta files (as well as SAS and SPSS files) library(haven) # haven package now available on cran ![]() Update: readstata13 imports in version 0.8 also files from Stata 6 to 14 Install the package and read a Stata 13 dataset with read.dta13(): install.packages("readstata13") There is a new package to import Stata 13 files into a ame in R.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |