回答于 2010/01/18 13:56
In base package, you could do as following:
wk <- seq(as.Date("2000/1/1"), as.Date("2010/1/1"), "weeks")
Then you can get the weekly date stamp.
There are some packages to do with time series data, such as xts, timeSeries, etc.
In the timeSeries packages,
timeSeries(rnorm(length(wk), wk))