[R] csv file with two header rows

John Kane jrkrideau at inbox.com
Fri Apr 26 14:48:55 CEST 2013

I don't think so. read.csv is a striped down version of read.table.  You should be able to do this with the skip option there.

John Kane
Kingston ON Canada

> -----Original Message-----
> From: analyst41 at hotmail.com
> Sent: Thu, 25 Apr 2013 18:35:42 -0700 (PDT)
> To: r-help at r-project.org
> Subject: [R] csv file with two header rows
> Is there a way to use read.csv() on such a file without deleting one
> of the header rows?
> Thanks.
> ______________________________________________
> 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.

GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at http://www.inbox.com/smileys
Works with AIM®, MSN® Messenger, Yahoo!® Messenger, ICQ®, Google Talk™ and most webmails

More information about the R-help mailing list