[R] Writing dataframes to SAS XPT format
Tobias Verbeke
tobias.verbeke at openanalytics.eu
Wed Mar 17 18:12:13 CET 2010
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
More information about the R-help
mailing list