[R] library(fCalendar) timeDate("12.03.2005",format="%d.%m.%Y")

Ola Lindqvist ola.lindqvist at nr.no
Mon Aug 20 15:26:37 CEST 2007


Dear R users,
I have problem with the library fCalendar.

I am not using the US standard format notations. It seems like it is not 
possible to have different format than the US standards.
Anyone how knows a way to go around this problem?

Here is the code I enter:
myDate = "12.03.2005"
timeDate(myDate, format = "%d.%m.%Y")

And I get following error message:
Error in if (sum(lt$sec + lt$min + lt$hour) == 0) isoFormat = "%Y-%m-%d" :
        missing value where TRUE/FALSE needed

Thanks,
Ola



More information about the R-help mailing list