Displaying 1 result from an estimated 1 matches for "ne456".
Did you mean:
n456
2011 Apr 05
2
Pulling strings from a Flat file
...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 suggestions on getting rid of the /n and create...