[R] serialized plot object (2 years later)

Tobias Verbeke tobias.verbeke at gmail.com
Mon Nov 23 22:06:59 CET 2009


Hi Jack,

Jack Tanner wrote:
> About 2 years ago, Tobias Verbeke asked:
> 
> "I am looking for a way to capture the binary string that in normal use of graphics devices will bewritten to (most commonly) a file connection... Is there a way of capturing the binary `jpeg string'
> [generated by jpeg()]?"
> 
> http://tolstoy.newcastle.edu.au/R/e2/devel/07/09/4276.html
> 
> Brian Ripley's answer was "Nope, unfortunately, they write to files not connections and no R object 
> is involved."
> 
> Is this still the case?

Yes (assuming your question wasn't a rhetorical question).

I still think it would be a useful feature if graphics devices
could write to connections.

Best,
Tobias

P.S. Your question seems more appropriate for R-devel.




More information about the R-help mailing list