[R] Exist the S 'dates' function in R?

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue Nov 21 21:55:07 CET 2000


"Garcia, Jose Angel (Jose Angel)" wrote:
> 
> Good afternoon,
> 
> I am a new user of the R application, and I don't know to much about the
> lenguage.
> 
> I am  trying a to run some of the S programs I have, and some of them are
> crashing with the "dates" function. This function translate a character
> string into a 'dates representation object'.
> 
> Do you know if there is a similar function in R?
> 
> Thank you very much for your help


There's a function dates() in the package "chron"....

Uwe Ligges



BTW: In Version 1.2.0 Under development (unstable) (2000-11-15)

> dates(c("02/27/92", "02/27/92", "01/14/92",
+                "02/28/92", "02/01/92"))
Error in names<-.default(*tmp*, value = fnames) : 
        Unimplemented feature in duplicate
> dates("02/27/99")
Error in as.vector(x, "double") : cannot coerce to vector
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list