[Rd] years() in chron package not working in R 2.6.0 (PR#10415)
jputz at teainc.org
jputz at teainc.org
Fri Nov 9 21:55:08 CET 2007
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]]
More information about the R-devel
mailing list