Hi Spencer, Sorry not to have thought about a self contained example. One can make:
dur <- c(17, 6, 12, 20, 24, 8, 16, 12, 8, 8, 9, 9, 13, 24, 14, 15, 10, 13, 14, 21, 14, 12, 10, 17, 11, 10, 14, 15, 13, 11, 14, 10, 12, 16, 10) DP <- structure(c(1144360800, 1145656800, 1143583200, 1144360800, 1145052000, 1143496800, 1144274400, 1144620000, 1143669600, 1147039200, 1146607200, 1143583200, 1143327600, 1144965600, 1144015200, 1144274400, 1144360800, 1144015200, 1144101600, 1144792800, 1144274400, 1144447200, 1144447200, 1144533600, 1144360800, 1143842400, 1143928800, 1144533600, 1143928800, 1143928800, 1144188000, 1143928800, 1144015200, 1144447200, 1143842400 ), class = c("POSIXt", "POSIXct"), tzone = "") plot(dur~DP, format="%d %b") I will follow your hint further. Thanks a lot for your kind concern, All the best, Patrick Spencer Graves a écrit : > 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@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. >> > > > ______________________________________________ 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 and provide commented, minimal, self-contained, reproducible code.