example(dotplot) is broken in 0633 (PR#154)

khal@alumni.uv.es khal@alumni.uv.es
Wed, 31 Mar 1999 15:32:07 +0200


> example(dotplot)

dotplt> data(deaths)
[1] "deaths"

dotplt> dotplot(deaths, main = "Death Rates in Virginia - 1940")
Error: plot.new has not been called yet


This functions if there has been drawn in the device earlier.  One simple fix
is to move plot.new at an earlier place in the function.


Kjetil Halvorsen



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._