I'm not exactly an expert so this is not likely a good way to do it but if the
actual variable names are constant across the files why not just read in the
data and assign the names later?
see skip in ?read.table.
x <- read.table("d:/junk1.txt", skip=2)
should read in the data.
You can cl
This reads in your posted data:
> x <- read.table(textConnection("Samplerate = 2 samps/sec
+ Nr Cnt1X Cnt1Y Cnt2X Cnt2Y sec100 hour
+ 153 84 43 2 22 12
+ 290 155 74 0 72 12
+ 390 155 74 0 121
2 matches
Mail list logo