[Rd] years() in chron package not working in R 2.6.0 (PR#10415)
Gabor Grothendieck
ggrothendieck at gmail.com
Sat Nov 10 14:11:16 CET 2007
In chron, ?year says x must be a "dates" object and its not in the code below.
On Nov 9, 2007 3:55 PM, <jputz at teainc.org> wrote:
> I loaded package chron in a newly installed version of R 2.6.0 and the
> years() function would not work. (This worked in 2.5).
>
> =20
>
> > x<-as.Date("2006-01-01")
>
> > years(x)
>
> NULL
>
> =20
>
> >sessionInfo()
>
> R version 2.6.0 (2007-10-03)=20
>
> i386-pc-mingw32=20
>
> =20
>
> locale:
>
> LC_COLLATE=3DEnglish_United States.1252;LC_CTYPE=3DEnglish_United
> States.1252;LC_MONETARY=3DEnglish_United
> States.1252;LC_NUMERIC=3DC;LC_TIME=3DEnglish_United States.1252
>
> =20
>
> attached base packages:
>
> [1] tcltk stats graphics grDevices utils datasets methods
> base=20=20=20=20=20
>
> =20
>
> other attached packages:
>
> [1] fCalendar_260.72 fEcofin_260.72 fUtilities_260.72 zoo_1.4-0
> spatial_7.2-36=20=20=20
>
> [6] RUnit_0.4.17 MASS_7.2-36 chron_2.3-15=20=20=20=20=20
>
> =20
>
> loaded via a namespace (and not attached):
>
> [1] grid_2.6.0 lattice_0.16-5 tools_2.6.0=20=20=20
>
> =20
>
> Thanks.
>
> =20
>
> John Putz
>
> Sr. Energy Analyst
>
> The Energy Authority
>
> 425-460-1137 (o)
>
> 206-910-5229 (c)
>
> =20
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
More information about the R-devel
mailing list