[R] Converting ddf/dct/sas data definition file to R

2009-01-22 Thread Stephan Lindner
Dear all, I was wondering whether anyone knows about a program which converts (part of) a data definition file (such as a .dct file for stata, or .sas file for sas) into an R-script. Here is an example with a .sas file: -- snipp VALUE HTYPE (default=32) 0 = Not in

Re: [R] Converting ddf/dct/sas data definition file to R

2009-01-22 Thread Frank E Harrell Jr
The sas.get function in the Hmisc package, or the sasxport.get function, will do what you want by a different approach. Frank Stephan Lindner wrote: Dear all, I was wondering whether anyone knows about a program which converts (part of) a data definition file (such as a .dct file for stata,

Re: [R] Converting ddf/dct/sas data definition file to R

2009-01-22 Thread Stephan Kolassa
Hi Stephan, Does the foreign package help? HTH, (another) Stephan Stephan Lindner schrieb: Dear all, I was wondering whether anyone knows about a program which converts (part of) a data definition file (such as a .dct file for stata, or .sas file for sas) into an R-script. Here is an