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

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Thu 01 Jun 2006 - 07:00:53 EST

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@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@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@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

______________________________________________
R-help@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
Received on Thu Jun 01 07:19:07 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 01 Jun 2006 - 08:10:37 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.