Skip to content
Prev 278311 / 398502 Next

How to extract particular words from various files

try this:  if line locations are not fixed, then use grepl to find the
matching line -
+ # tas [K] from bcc-csm1-1 model output prepared for CMIP5 RCP8.5
+ # cutting out region lon=    0.000  360.000, lat=  -90.000   90.000"))
[1] "bcc-csm1-1"
[1] "8.5"

        
On Wed, Nov 23, 2011 at 8:44 AM, ucakmde <maris_dem at hotmail.com> wrote: