Re: [Rd] raster support in graphics devices

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Fri, 04 Dec 2009 10:59:14 -0500

Right.

On Fri, Dec 4, 2009 at 10:53 AM, hadley wickham <h.wickham_at_gmail.com> wrote:

> > Just to explain a bit more I am thinking about something like this:
> >
> > con <- graphicsConnection() # I've just made this up
> > png(con)
> > plot(1:10)
> > dev.off()
> > raw.img <- readBin(con, "raw", size = 1, n = 100000000)
>
> It seems to me what you actually want is for graphics devices to
> support connections:
>
> rc <- rawConnection("raw.img", "w")
> png(rc)
> plot(1:10)
> dev.off()
> close(rc)
>
> Hadley
>
> --
> http://had.co.nz/
>

        [[alternative HTML version deleted]]



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 04 Dec 2009 - 16:08:41 GMT

This archive was generated by hypermail 2.2.0 : Fri 04 Dec 2009 - 16:10:58 GMT