[R] Problem with as.POSIXct on dates object

Gabor Grothendieck ggrothendieck at gmail.com
Mon Jul 20 15:00:57 CEST 2009


On Mon, Jul 20, 2009 at 5:16 AM, Denis Chabot<chabotd at globetrotter.net> wrote:
> Hi,
>
> if you look at my example in recent thread "Rép : [R] problem with
> as.POSIXct and daylight savings time", it appears that tz argument is used
> by as.POSIX.ct
>
> Denis Chabot
> Le 09-07-20 à 00:00, Remko Duursma a écrit :
>
>>> as.POSIXct.dates does not make use of tz:
>>
>> Ok, but it is supposed to, right? Or maybe the documentation can be
>> updated, because ?as.POSIXct does seem to imply the timezone is used
>> (as it is for other methods of as.POSIXct).
>>
>> thanks,
>> Remko

The documentation seems ambiguous here.  It says:
   tz A timezone specification to be used for the conversion, if one
is required.
and the meaning of "if one is required" is not clear.




More information about the R-help mailing list