Dear R helpers,

I have 2 questions : -

1. My excel sheet has a column with dates like 01/03/1980 which is formatted
as 03/80 when I read this into R it reads as Mar-80. How can I read it in
the source format ?

2.

> v<-c("Mar-80")
> as.Date(v,format="%b-%y")
[1] NA
>

Could someone please tell me where I am wrong in this date format conversion
?

Thank you all very much.

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to