Reading and writing SAS transport files in R can be done with the package "SASxport". To import SAS transport files into R we use the function read.xport(). For example, the following code can be used to read in a file from a URL:
adae = read.xport("https://www.ctspedia.org/wiki/pub/CTSpedia/DataSetPageCDISC/adae.xpt")
Documentation for this package can be found at
http://cran.r-project.org/web/packages/SASxport/SASxport.pdf.
Return to CTSpedia Web Home