search for: ne23456

Displaying 1 result from an estimated 1 matches for "ne23456".

2011 Apr 05
2
Pulling strings from a Flat file
...I want to separate them into one vector the length of the number of strings in the flat file, where each string is it's on unique value. cc<-c(7,7,7,7,7,7,7) > aa<- file("Master","r", raw=TRUE) > readChar(aa, cc, useBytes = FALSE) [1] "E123456" "\nE23456" "7\nE3456" "78\nE456" "789\nE56" "7891\nE6" "78910\nE" > close(aa) > unlink("Master") The biggest issue is I am getting \n added into the string, which I am not sure where it is coming from, and splices the strings. Any sugges...