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

From: peter dalgaard <pdalgd_at_gmail.com>
Date: Fri, 22 Apr 2011 19:38:52 +0200

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

______________________________________________
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.
Received on Fri 22 Apr 2011 - 17:50:40 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 22 Apr 2011 - 18:00:32 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive