Skip to content
Prev 1882 / 15274 Next

timeDate vector

Hi,
I would like to create a vector of timeDate and access or change its
elements but when I do that I get some error messages... 

Example:
test <- rep(Sys.timeDate(),9)
test[1] <- Sys.timeDate()

And I get:
Error in test[1] <- Sys.timeDate() : object of type 'S4' is not subsettable

Is there something wrong here? Or is it just not possible to use timeDate
that way?

Thanks,
Laurent