On Sun, 19 Apr 2009 23:59:43 -0700 (PDT) Roslina Zakaria <zroslina at yahoo.com> wrote: RZ> I have a set of data from 1958-2009, how do I extract the data from RZ> 1927 and 2007? RZ> beechworth.dt RZ> Year Month Rain how about: beech.cut<-subset(beechworth.dt,(Year>1926&Year<2008)) hth Stefan