labels in axis.timeDate()

Ott Toomet otoomet at gmail.com
Fri Mar 18 12:29:58 CET 2011


Dear timeDate() team,

the 'labels' option in 'axis.timeDate()' does not work as intended,
labels are always on (version 2130.92, the most recent CRAN one).

The bug is easily visible in the code, one can see the labels are
always passed as TRUE to axis.POSIXct.

> axis.timeDate
function (side, x, at, format = NULL, labels = TRUE, ...)
{
    if (is.null(format))
        format = whichFormat(x)
    axis.POSIXct(side = side, x = as.POSIXct(x), at = as.POSIXct(at),
        format = format, labels = TRUE, ...)
    invisible()
}
<environment: namespace:timeDate>

Best,
Ott

-- 
Ott Toomet
Senior research fellow

Tartu University
Department of Economics
Narva 4,
Tartu 51009
Estonia

ph: +372 737 6348
email: otoomet at gmail.com



More information about the Rmetrics-core mailing list