This will work:
v <- data.frame( timestamp = as.Date(c("2011-02-22", "2011-02-22", "2011-02-23")), page_id = c(1,2,1)) newdata <- data.frame(time=names(new), count=new) qplot(time, page, data = newdata)
It is worth reading the ggplot manual, which has many qplot examples, including time series.
source share