[R] formatting date strings
Jeremy.Whish@csiro.au
Jeremy.Whish at csiro.au
Wed Feb 13 05:47:01 CET 2002
Hi all
I am a relatively new R user so please excuse this question if it has been
covered some where else, just tell me where to find it.
I have a simulation model that out puts dates in a standard dd/mm/yy format
R reads this as a factor and I cant find anything that will allow me to
convert them to a date. In S+ I have used a chron() function that required
you to specify the format of the input date and the format of the output
date.
My question is: does R have such a function? If not, can any one suggest a
way to tell R that information in dd/mm/yy format being read in with
read.table() is actually a date.
any help would be appreciated
Jeremy
Jeremy Whish,
Farming Systems Research
Agricultural Production Systems Research Unit,
CSIRO Sustainable Ecosystems,
APSRU, PO Box 102, Toowoomba, Qld, Australia. 4350
Phone +61 (07) 4688 1419
Mobile 0428 763426
Fax +61 (07) 4688 1193
Email jeremy.whish at csiro.au
WEB http//www.apsru.gov.au
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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