lbraglia / RStata

[R package]: A R-Stata interface
112 stars 37 forks source link

Added read/write compatibility for Stata 14 #3

Closed tystan closed 9 years ago

tystan commented 9 years ago

For Stata 14, the saveold command defaults to a Stata 13 dta file but the R function foreign::read.dta() only works for Stata<=12. Therefore by using the (Stata 14 only) saveold option: "version(12)" allows foreign::read.dta() compatibility.

Reference if required: http://www.stata.com/support/faqs/data-management/save-for-previous-version/

Also, thanks for creating such a great package and making it available!

lbraglia commented 9 years ago

Thanks!