[R] X11 & dev2bitmap

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


Hi,

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
as:

dev2bitmap("InsectSpray.BMP")

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:

/usr/local/R_HOME/R-1.1.0/src/unix/X11
/usr/local/R_HOME/R-1.1.0/src/unix/X11/devX11.c
/usr/local/R_HOME/R-1.1.0/src/unix/X11/devX11.d
/usr/local/R_HOME/R-1.1.0/src/unix/X11/devX11.o
/usr/local/R_HOME/R-1.1.0/bin/R_X11.so
/usr/local/R_HOME/R-1.1.0/src/library/base/R/unix/x11.R
/usr/local/R_HOME/R-1.1.0/src/library/base/R/windows/x11.R
/usr/local/R_HOME/R-1.1.0/src/library/base/man/unix/x11.Rd
/usr/local/R_HOME/R-1.1.0/library/base/help/x11
/usr/local/R_HOME/R-1.1.0/library/base/html/x11.html
/usr/local/R_HOME/R-1.1.0/library/base/latex/x11.tex 

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

steve

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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