Dennis Fisher wrote:
Colleagues,
On occasion, I need to output an R dataframe to a file in SAS XPT format.
Although the foreign package supports reading of XPT files and writing to a
format that SAS can read, it does not support writing to XPT format (confirmed
with Thomas Lumley, the author of write.foreign).
Has anyone developed such a function? If so, would you be willing to share it?
Better yet, post it to CRAN so that it is available to all users.
http://cran.r-project.org/web/packages/SASxport/index.html
HTH,
Tobias
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.