[R] Stuck with levels while reassigning dataframe colnames?

jjap jean.plamondon at fpinnovations.ca
Thu Feb 2 15:13:57 CET 2012


Thanks for the advice,
  df<-read.table(infile, sep="," skip = 1,  header=TRUE)
is indeed much cleaner from the outset (and was my usual way to it).
I was unaware that 
  readLines(infile, n=1) 
could get me the first line without reading the whole file again.
But I do need to get my head around these levels...

---Jean Plamondon

--
View this message in context: http://r.789695.n4.nabble.com/Stuck-with-levels-while-reassigning-dataframe-colnames-tp4350435p4351528.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list