[R] Can R replicate this data manipulation in SAS?

peter dalgaard pdalgd at gmail.com
Fri Apr 22 19:38:52 CEST 2011


On Apr 22, 2011, at 18:50 , Douglas Bates wrote:

> What about reading a deck of punched cards with the cards statement in
> SAS?  How do you propose to do that in R?

Actually, with the new text= argument to read.table in r-devel, it should be rather easy.... (given that you can find a card-punch and punched-card reader, of course).

(And it's "datalines" nowadays, although everyone still uses "cards"...)

-- 
Peter Dalgaard
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-help mailing list