Re: [R] re ad .csv separated with coma

2008-03-18 Thread Eik Vettorazzi
You should skip the first 3 rows by using option skip=3 and set header=FALSE, which defaults to TRUE. But you could also use the 3rd row as header, doing so by setting skip=2. z <-read.csv(pathname, skip=3, header=F) or z <-read.csv(pathname, skip=2) (By the way, it is obvious not necessary to s

[R] re ad .csv separated with coma

2008-03-18 Thread mysimbaa
Dear R users, I try to read .csv composed of two rows which are separated with coma in the followin manner: 1.ignore the three first lines 2. read datas separated with coma. I tried the following : pathname <- file.choose() z <-read.csv(pathname, s