Hello,

   I have a table (in a txt file) which look like this:

Monday 12 78 89
Tuesday 34 44 67
Wednesday 78 98 2
Thursday 34 55 4

   Then the table repeats Monday , Tuesday, ... followed by several numbers

   My goal is to read values after the table. My problem is a little more
complicated, but I just present a simpler case for ease of illustration. Is
there any way to ask R to "read several number after you see the word
'Monday' and store somewhere", and read several number after you see the
word 'Tuesday' and store somewhere"?

  Thanks,

miao

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to