Dear Rxperts! My colleagues used SAS PROC COPY to generate the xpt files that could be read by the available "xpt" file reading packages in R. However, I am unable to use the R packages for reading SAS transport files generated through SAS PROC CPORT. I have tried SASxport, Hmisc, and foreign. Any ideas/suggestions are more than welcome! Thanks so much! Santosh [[alternative HTML version deleted]]
Hi Santosh, On Tue, Mar 26, 2013 at 1:57 PM, Santosh <santosh2005 at gmail.com> wrote:> Dear Rxperts! > > My colleagues used SAS PROC COPY to generate the xpt files that could be > read by the available "xpt" file reading packages in R. However, I am > unable to use the R packages for reading SAS transport files generated > through SAS PROC CPORT. I have tried SASxport, Hmisc, and foreign. > > Any ideas/suggestions are more than welcome!Show us what you did and what errors R gave you. As of now we have no idea what your actual problem is. Best, Ista> > Thanks so much! > Santosh > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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.
Duncan Murdoch
2013-Mar-26 18:32 UTC
[R] suggestions about import SAS Transport files to R.
On 26/03/2013 1:57 PM, Santosh wrote:> Dear Rxperts! > > My colleagues used SAS PROC COPY to generate the xpt files that could be > read by the available "xpt" file reading packages in R. However, I am > unable to use the R packages for reading SAS transport files generated > through SAS PROC CPORT. I have tried SASxport, Hmisc, and foreign.I thought I had heard that SAS was now distributing some way to connect to R. So shouldn't you be asking them this question? Duncan Murdoch> > Any ideas/suggestions are more than welcome! > > Thanks so much! > Santosh > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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.