[R] X11 & dev2bitmap

Steve Arthur sarthur at protogene.com
Tue Jul 18 21:51:38 CEST 2000


I am trying to put some graphics I have generated from R on a
webpage using dev2bitmap to create a bitmap, .BMP, file. 

When I look at my notes from 2 or 3 months ago I was successfully able to
put the ACTIVE device plot result into a bitmap file using a command such


Job done!

Now when I try the same command, I get the following:

> boxplot(InsectData)
> dev2bitmap("InsectSpray.BMP")
Error in device(...) : Object "width" not found      

I looked-up what R means by 'device' and constructed this command:

> X11(display = "", width = 7, height = 7, pointsize = 12, gamma = 1,
colortype = getOption("X11colortype"), maxcubesize = 256)  

with no resistance, but no change in the result.

I looked up files containing x11 or X11 on my systen and found:


any idea on what is happening to my device and Object?


r-help 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-help-request at stat.math.ethz.ch

More information about the R-help mailing list