Displaying 1 result from an estimated 1 matches for "mypaths5".
Did you mean:
mypaths4
2012 Nov 17
1
Strange problem with reading a pipe delimited file
...moved "J" to row 7, I don't understand why it is not left in position 6,10.
So, more strange to me, I remove line 1, so my data file contains:
A|B|C|D|E|F
A|B|C|D|E
A|B|C|D|E|F|G|H|I
A|B|C|D
A|B|C|D|E|F|G|H|I|J
and I get a totally different result:
> test <- read.delim("mypaths5.txt", sep="|", quote=NULL, header=F, colClasses="character")
> test
V1 V2 V3 V4 V5 V6 V7 V8 V9 V10
1 A B C D E F
2 A B C D E
3 A B C D E F G H I
4 A B C D
5 A B C D E F G H I J
what...