I am using the Rmetrics package and would like to convert a daily price time serie into a monthly one. In SPlus I could use: aggregateSeries(timeSerie, by="months",FUN=first).