Your example is not self contained, and I was unable to generate
an example that produced the warning messages you've mentioned.
Have you tried 'options(warn=2)', then running your example? This
will turn the warning into an error. Then you might be able to get
something from 'traceback'. I also encourage you to experiment with
'debug'. I've discussed how to do this in previous posts.
'RSiteSearch("debug spencer")' produced 124 hits for me just
now.
Number 7 on that list looked like it might help you:
"http://finzi.psych.upenn.edu/R/Rhelp02a/archive/79251.html".
Hope this helps.
Spencer Graves
Patrick Giraudoux wrote:> Hi,
>
> Just to signal that when I want to plot POSIXct variable on x using
> format within plot(), I get what I want on the plot but with a number of
> warnings:
>
> > plot(y~x,format="%y-%m")
> Warning messages:
> 1: "format" is not a graphical parameter in: plot.window(xlim,
ylim,
> log, asp, ...)
> 2: "format" is not a graphical parameter in: plot.xy(xy, type,
pch, lty,
> col, bg, cex, lwd, ...)
> 3: "format" is not a graphical parameter in: axis(side, at,
labels,
> tick, line, pos, outer, font, lty, lwd,
> 4: "format" is not a graphical parameter in: box(which = which,
lty =
> lty, ...)
> 5: "format" is not a graphical parameter in: title(main, sub,
xlab,
> ylab, line, outer, ...)
>
> I suppose that format may not be at the right place in plot() or/and not
> handled by the functions called from there, however the documentation
> (?plot.POSIXct) seems to allow passing this argument:
>
> ...: Further arguments to be passed from or to other methods,
> typically graphical parameters or arguments of
> 'plot.default'. For the 'plot' methods, also
'format'.
>
> Any comment?
>
> Patrick
>
> ______________________________________________
> 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
> and provide commented, minimal, self-contained, reproducible code.
>