I'm sharing here a text file a need to read into R
https://www.filehosting.org/file/details/846022/PLT_PERIOD_ALL_175_P98.PLT
this is what I've done so far
fname<-'PLT_PERIOD_ALL_175_P98.PLT'
rt0<-read.table(fname, skip=8, header = FALSE,
stringsAsFactors = FALSE)
##Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
## line 84 did not have 10 elements
rt1<-read.table(fname, skip=8, header = FALSE,
stringsAsFactors = FALSE, fill=TRUE)
# this is messing up the last two columns by row 84
rt2<-read.table(fname, skip=8, header = FALSE,
flush = TRUE, stringsAsFactors = FALSE, fill=TRUE)
# this is skipping one column
rt3<-read.table(fname, skip=8, header = FALSE, sep='\t',
flush = TRUE, stringsAsFactors = FALSE, fill=TRUE)
# this is reading all in one column