Skip to content
Prev 311126 / 398506 Next

Strange problem with reading a pipe delimited file

Duncan,

I believe I follow you now, I have done like so with expected results:

ncol <- max(count.fields("paths.txt", sep = "|"))
test <- read.delim("paths.txt", sep="|", quote=NULL, header=F, colClasses="character", fill=TRUE, col.names = paste("V", seq_len(ncol), sep = ""))


Thank you for your help

Brian
On Nov 17, 2012, at 4:34 PM, Brian Feeny wrote: