[R] Reading first line before using read.table()

Hurr hill0093 at umn.edu
Mon Apr 2 04:18:42 CEST 2012

Thanks so much. The following are the actual lines I used for testing, and
they worked. 

 titleline <- readLines("C:/ad/dta/TryRRead/pureCos2.dta", n=1) 
  dta <- read.table("C:/ad/dta/TryRRead/pureCos2.dta", skip = 1, header =
TRUE, sep = ",", colClasses = "character")
  linDta <- linearizeTime(dta); 
#  plot(linDta) 

View this message in context: http://r.789695.n4.nabble.com/Reading-first-line-before-using-read-table-tp4524804p4525000.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list