[R] How can I ask R to skip the title when reading the data?

2013-04-18 Thread jpm miao
I have many xls grade report sheets with the same format XXX High School Grade Report Confidential Yes Math English Science John 90 85 90 Mary 75 88 93 …… Since the reports are prepared on a regular basis, I have many reports with identical format. Without the title “XXX High

Re: [R] How can I ask R to skip the title when reading the data?

2013-04-18 Thread andrija djurovic
Hi. You can try with argument skip in read.csv function(check ?read.csv). Also, if you want directly to import an Excel file you can use readWorksheet function from XLConnect package and use argument startRow to set up the first row to read from. Hope this helps. Andrija On Thu, Apr 18, 2013

Re: [R] How can I ask R to skip the title when reading the data?

2013-04-18 Thread Pascal Oettli
Hi, You didn't read the help file carefully enough. ?read.csv skip argument. Regards, Pascal On 04/18/2013 04:46 PM, jpm miao wrote: I have many xls grade report sheets with the same format XXX High School Grade Report Confidential Yes Math English Science John 90 85 90 Mary