[R] How to scan df from a specific word?

M.Ribeiro mresendeufv at yahoo.com.br
Sat Oct 30 00:34:55 CEST 2010


Hi R-helpers,

I need to read some file with different lines (I don't know the number of
lines to skip) and I would like to find a way to start reading the
data.frame from the word "source".

ex:

djhsafk
asdfhkjash
shdfjkash
asfhjkash         #those lines contain numbers and words, I want to skip
then but they have different sizes
asdfhjkash
asdfhjksa

source
tret 2 
res 3

Can anybody help?
Thanks
-- 
View this message in context: http://r.789695.n4.nabble.com/How-to-scan-df-from-a-specific-word-tp3019841p3019841.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list