Re: [R] read.csv, header=TRUE but skip the first line

2009-06-28 Thread Mark Knecht
On Sun, Jun 28, 2009 at 2:38 PM, Ted Harding wrote: > More explicitly, it could be written: > >    skip: integer: the number of lines of the data file to skip before >          beginning to read the lines in the file. > > Hoping this helps! > Ted. It does! More questions coming once I do some mor

Re: [R] read.csv, header=TRUE but skip the first line

2009-06-28 Thread Ted Harding
On 28-Jun-09 21:05:59, Mark Knecht wrote: > Hi, > Complete newbie to R here. Just getting started reading manuals and > playing with data. > > I've managed to successfully get my *.csv files into R, however I > have to use header=FALSE because the real header starts in line #2. > The file format l

Re: [R] read.csv, header=TRUE but skip the first line

2009-06-28 Thread Mark Knecht
On Sun, Jun 28, 2009 at 2:18 PM, Peter Dalgaard wrote: > Mark Knecht wrote: >> >> Hi, >>   Complete newbie to R here. Just getting started reading manuals and >> playing with data. >> >>   I've managed to successfully get my *.csv files into R, however I >> have to use header=FALSE because the real

Re: [R] read.csv, header=TRUE but skip the first line

2009-06-28 Thread Joshua Wiley
Hey Mark, What about something like read.csv(file="yourfile", skip=1, header=TRUE) Hope that helps, Joshua On Sun, Jun 28, 2009 at 2:05 PM, Mark Knecht wrote: > Hi, >   Complete newbie to R here. Just getting started reading manuals and > playing with data. > >   I've managed to successfully g

Re: [R] read.csv, header=TRUE but skip the first line

2009-06-28 Thread Peter Dalgaard
Mark Knecht wrote: Hi, Complete newbie to R here. Just getting started reading manuals and playing with data. I've managed to successfully get my *.csv files into R, however I have to use header=FALSE because the real header starts in line #2. The file format looks like: PORTFOLIO EQUITY

[R] read.csv, header=TRUE but skip the first line

2009-06-28 Thread Mark Knecht
Hi, Complete newbie to R here. Just getting started reading manuals and playing with data. I've managed to successfully get my *.csv files into R, however I have to use header=FALSE because the real header starts in line #2. The file format looks like: PORTFOLIO EQUITY TABLE TRADE,MARK-SYS