Right. On Fri, Dec 4, 2009 at 10:53 AM, hadley wickham <h.wick...@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@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel