[R] X11 & dev2bitmap
sarthur at protogene.com
Wed Jul 19 02:47:06 CEST 2000
it states ...
"For changes since the release of R 1.0.0 on 29 Feb 2000 see the file
"Support for GIF format bitmaps has been removed, but support for PNG,JPEG
and BMP has been added. This can be done via the File menu on the graphics
window, savePlot() or dev.print to the new devices png(), bmp() and
jpeg(), which can also be used directly."
not on UNIX.
Portable Network Graphics Format (PNG)
"The PNG format is probably going to become the most widely used format of
the future. It incorporates all the latest image technologies and is free
of licensing restrictions."
This is the format I will try to get to work in R unless there are any
reasonable objections from the audience.
On Tue, 18 Jul 2000, Vadim Kutsyy wrote:
> On a side note.
> If you are putting image on the web, I think gif, or gpeg would be much
> better alternative.
> They are much smaller.
> Vadim Kutsyy
> http://www.kutsyy.com vadim at kutsyy.com
> The University of Michigan - Ann Arbor Ph.D. Student
> > -----Original Message-----
> > From: owner-r-help at stat.math.ethz.ch
> > [mailto:owner-r-help at stat.math.ethz.ch]On Behalf Of Steve Arthur
> > Sent: Tuesday, July 18, 2000 3:52 PM
> > To: r-help-digest at stat.math.ethz.ch
> > Subject: [R] X11 & dev2bitmap
> > 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
> > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
> > _._._._._._._
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
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