Re: [Rd] years() in chron package not working in R 2.6.0 (PR#10415)

2007-11-10 Thread Gabor Grothendieck
In chron, ?year says x must be a "dates" object and its not in the code below.

On Nov 9, 2007 3:55 PM,  <[EMAIL PROTECTED]> 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.72fUtilities_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@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] years() in chron package not working in R 2.6.0 (PR#10415)

2007-11-10 Thread jputz
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.72fUtilities_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@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel