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
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
2 matches
Mail list logo