[R] plot problem in version 2.3.0 with dates as x

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed May 31 23:00:53 CEST 2006


Note, this is about plot.date (not dates, a different class) in the 
contributed survival package, not R 2.3.0.  You need to use log="" as 
plot.date incorrectly uses as its default log=NULL.

Please see the posting guide about how to report a problem in a 
contributed package.


On Wed, 31 May 2006, jun.zang at jpmorgan.com wrote:

> Hi, I have some old programs running well for older versions 2.2.0 and
> 2.1.1, but cannot run under 2.3.0.  The problem is in plot with dates as x:
>
> library(survival)
> test <- data.frame( x = c(1:20), date = as.date(1:20))
> plot(test$date, test$x)
> ---------------------------------------------------------
> Error in plot.window(xlim, ylim, log, asp, ...) :
>        "log=" specification must be character
>
> Is this a bug in v2.3.0?
>
> Thanks,
>
> Jun Zang
> Fixed Income Research
> JP Morgan Asset Management
>
>
>
> This communication is for informational purposes only. It is...{{dropped}}
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list