[Rd] seq.POSIXt() bug not fixed in R 1.8.1 (PR#4558)
Dirk Eddelbuettel
edd at debian.org
Tue Mar 30 14:36:26 CEST 2004
On Tue, Mar 30, 2004 at 01:39:14PM +0200, John.Marsland at CommerzbankIB.com wrote:
> I am still experiencing problems with seq.POSIXt() missing off the last day
> of the series:
>
> > seq(as.POSIXct("2004-03-25"),as.POSIXct("2004-03-31"),by="DSTdays")
> [1] "2004-03-25 GMT Standard Time" "2004-03-26 GMT Standard Time"
> "2004-03-27 GMT Standard Time"
> [4] "2004-03-28 GMT Standard Time" "2004-03-29 GMT Daylight Time"
> "2004-03-30 GMT Daylight Time"
>
FWIW, 1.9.0 can handle this fine (on Linux, at least):
edd at homebud:~> R
R : Copyright 2004, The R Foundation for Statistical Computing
Version 1.9.0 beta (2004-03-21), ISBN 3-900051-00-3
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for a HTML browser interface to help.
Type 'q()' to quit R.
> seq(as.POSIXct("2004-03-25"),as.POSIXct("2004-03-31"),by="DSTdays")
[1] "2004-03-25 CST" "2004-03-26 CST" "2004-03-27 CST" "2004-03-28 CST"
[5] "2004-03-29 CST" "2004-03-30 CST" "2004-03-31 CST"
>
You may want to try one of Duncan's test builds of 1.9.0 for Windows.
Hth, Dirk
> > R.version
> _
> platform i386-pc-mingw32
> arch i386
> os mingw32
> system i386, mingw32
> status
> major 1
> minor 8.1
> year 2003
> month 11
> day 21
> language R
>
> Regards,
>
> John
>
>
> **********************************************************************
> This is a commercial communication from Commerzbank AG.\ \ T...{{dropped}}
>
> ______________________________________________
> R-devel at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
>
--
The relationship between the computed price and reality is as yet unknown.
-- From the pac(8) manual page
More information about the R-devel
mailing list