[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-sig-finance
Subject:    [R-SIG-Finance] [R-sig-finance] timeDate vector
From:       Ryker <ryker () wanadoo ! fr>
Date:       2007-11-19 1:45:26
Message-ID: 13826501.post () talk ! nabble ! com
[Download RAW message or body]


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

_______________________________________________
R-SIG-Finance@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. 
-- If you want to post, subscribe first.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic