Skip to content
Back to formatted view

Raw Message

Message-ID: <1CE6799D-8FEC-4DEC-9299-7CF7CAA8A17E@gmail.com>
Date: 2011-04-22T17:38:52Z
From: Peter Dalgaard
Subject: Can R replicate this data manipulation in SAS?
In-Reply-To: <BANLkTikmfiuWza+kbErJ6mbx+ZWuuYxs5A@mail.gmail.com>

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