[Rd] Unnecssary warnings in plot function (PR#11530)

opomporay at yahoo.com opomporay at yahoo.com
Wed May 28 15:55:03 CEST 2008


Full_Name: Joseph Amuah
Version:  2.7.0 (2008-04-22)
OS: Windows
Submission from: (NULL) (205.207.78.4)


I used the plot function to create some graphs but wanted to add soem
restrictions. A set of warning were produced even though the plot worked fine.
Can these warnings be cleaned up? Here is an example:
***************************************
> plot(xx$month, xx$log10RR, xlab="", ylab="", type='n', xlim=c(0,60),
ylim=c(-0.2,0.3),tick=F, labels=F)
Warning messages:
1: In plot.window(...) : "tick" is not a graphical parameter
2: In plot.window(...) : "labels" is not a graphical parameter
3: In plot.xy(xy, type, ...) : "tick" is not a graphical parameter
4: In plot.xy(xy, type, ...) : "labels" is not a graphical parameter
5: In box(...) : "tick" is not a graphical parameter
6: In box(...) : "labels" is not a graphical parameter
7: In title(...) : "tick" is not a graphical parameter
8: In title(...) : "labels" is not a graphical parameter
> # expect warning that tick and labels are non-graphical parameters but it
works
> points(xx$month, xx$log10RR, col='red')
> lines(xx$month, xx$log10RR, col='red')



More information about the R-devel mailing list