Displaying 1 result from an estimated 1 matches for "_separator_".
Did you mean:
_separate_
2002 Nov 13
2
Importing with read.table
Hi all. I have something similar to the following:
myinfo <- read.table( file = "myfile.txt", sep = "|", col.name = c( "data1",
"data2" ) )
myfile.txt:
a|1|
b|2|
However, since there are two pipe (|) characters, it reads it in and thinks
there should be three columns. This is not the case and I get a warning
about col.names is wrong length. Is there a