[R-SIG-Finance] [R-sig-finance] timeDate vector

Ryker ryker at wanadoo.fr
Mon Nov 19 15:01:27 CET 2007


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



More information about the R-SIG-Finance mailing list