Hi No HTML. No highlighting.
if you want some data from object use extraction operator ?"[" Petr > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of shairul samat > Sent: Friday, January 11, 2013 10:19 AM > To: r-help@r-project.org > Subject: [R] Extract data > > Dear R users, > I just join this forum a few minutes ago. My friend recommend this > forum to me. > > I have data in excel csv. My problem is I would like to extract some > number, for example as highlighted below; > > Year Ending Maximum Value (Rain mm) > Gap from 19710509 090000 to 19710607 080000 of 28.96 Days > 19710629 080000(PARTIAL) 39.3 at interval beginning 19701126 > 010326 > Gap from 19710809 110221 to 19710816 080000 of 6.87 Days > Gap from 19720207 070000 to 19720303 080000 of 25.04 Days > Gap from 19720424 070000 to 19720504 080000 of 10.04 Days > 19720629 080000(PARTIAL) 33.8 at interval beginning 19720517 > 144507 > Gap from 19720913 090000 to 19720918 080000 of 4.96 Days > Gap from 19720929 150000 to 19721006 080000 of 6.71 Days > Gap from 19730129 070000 to 19730226 080000 of 28.04 Days > Gap from 19730531 030203 to 19730607 080000 of 7.21 Days > 19730629 080000(PARTIAL) 32.2 at interval beginning 19720910 > 135747 > Gap from 19731031 154200 to 19731205 080000 of 34.68 Days > Gap from 19740301 121500 to 19740425 080000 of 54.82 Days > 19740629 080000(PARTIAL) 38.9 at interval beginning 19731003 > 124849 > > > So, how do i do that. > > Thank you so much for any help given. > > [[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.