Re: [R] Convert csv to xpt file in R?

2015-05-07 Thread Santosh
; > To: r-help > > Subject: [R] Convert csv to xpt file in R? > > > > Dear Rxperts.. > > > > Was wondering if there is a way in R to read a csv file and generate an > > XPT > > file? For some reason the function write.xport() does not seem to work > >

Re: [R] Convert csv to xpt file in R?

2015-05-07 Thread Nordlund, Dan (DSHS/RDA)
> -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Santosh > Sent: Wednesday, May 06, 2015 8:04 PM > To: r-help > Subject: [R] Convert csv to xpt file in R? > > Dear Rxperts.. > > Was wondering if there is a way in R to read

[R] Convert csv to xpt file in R?

2015-05-06 Thread Santosh
Dear Rxperts.. Was wondering if there is a way in R to read a csv file and generate an XPT file? For some reason the function write.xport() does not seem to work for me i get the following error... "error in label.data.frame(df,default=""): length of default same as x A sample dataframe is g