Displaying 2 results from an estimated 2 matches for "prob85".
2010 May 05
2
readLines with space-delimiter?
...ll values between two quotes
("41 numbers"). I need to split these based upon the spaces between them.
What is the simplest means of doing this?
Code so far.
datin<-file("C:\\rforest\\data\\aoidry_predictors_85.txt", open="rt")
datout<-file("C:\\rforest\\prob85.txt",open="wt")
x<-readLines(datin,n=1)
writeLines(x,con=datout)
Thanks,
Seth
--
View this message in context: http://r.789695.n4.nabble.com/readLines-with-space-delimiter-tp2130255p2130255.html
Sent from the R help mailing list archive at Nabble.com.
2010 May 05
0
R-help Digest, Vol 87, Issue 5
...ll values between two quotes
("41 numbers"). I need to split these based upon the spaces between them.
What is the simplest means of doing this?
Code so far.
datin<-file("C:\\rforest\\data\\aoidry_predictors_85.txt", open="rt")
datout<-file("C:\\rforest\\prob85.txt",open="wt")
x<-readLines(datin,n=1)
writeLines(x,con=datout)
Thanks,
Seth
--
View this message in context: http://r.789695.n4.nabble.com/readLines-with-space-delimiter-tp2130255p2130255.html
Sent from the R help mailing list archive at Nabble.com.
------------------------...