[R] Example(chron) doesn't work

Gabor Grothendieck ggrothendieck at gmail.com
Thu Jun 8 17:19:25 CEST 2006


I can't reproduce that on 2.3.1 patched nor on 2.2.1.
For me it works.

On 6/8/06, Vittorio <vdemart1 at tin.it> wrote:
> Under R 2.3.1 for Windows (win xp) issuing
>
> > example(chron)
>
> gives:
>
> chron> dts <- dates(c("02/27/92", "02/27/92", "01/14/92",
>
> "02/28/92", "02/01/92"))
> Error in dates(c("02/27/92", "02/27/92",
> "01/14/92", "02/28/92", "02/01/92")) :
>        no direct or inherited
> method for function 'dates' for this call
> > dts<-dates(c("02/27/92",
> "02/27/92", "01/14/92","02/28/92", "02/01/92"),format="%m/%d/%y")
> Errore in dates(c("02/27/92", "02/27/92", "01/14/92", "02/28/92",
> "02/01/92"),  :
>        no direct or inherited method for function
> 'dates' for this call
> >
>
> What should I do?
> Thanks
> Vittorio
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>



More information about the R-help mailing list