Using the xts package to read your data as a real time series:
library(xts) dx <- read.zoo(text='1/1/2014 0:00 50 60 40 30 1/1/2014 0:05 100 120 80 60 1/1/2014 0:10 150 180 120 90 1/1/2014 0:15 45 52 36 32 1/1/2014 0:20 90 104 72 64 1/1/2014 0:25 135 156 108 96 1/1/2014 0:30 42 56 39 31 1/1/2014 0:35 84 112 78 62 1/1/2014 0:40 126 168 117 93 1/1/2014 0:45 50 60 40 30 1/1/2014 0:50 50 60 40 30 1/1/2014 0:55 50 60 40 30 1/1/2014 1:00 50 60 40 30 1/1/2014 1:05 50 60 40 30',index=1:2,tz='',format="%d/%m/%Y %H:%M")
Then a convenient period.apply to aggregate your ts for each time period:
period.apply(dx,endpoints(dx,on = "mins",k=15),mean)
source share