[R] Does R always insist on sending plot output to a file?

Donald Paul Winston satchwinston at yahoo.com
Thu Aug 19 03:49:03 CEST 2010


I need to write the output of a R plot to a Java OutputStream. It looks like
R insists on sending it's output to a file. Is there anyway to get bytes
directly from the output of a plot so I can write it with Java? Writing it
to a file is too slow.

Is there a parameter in the graphics device function png(..) that directs
output to a variable in memory? 

x <- plot(.)  would make sense.
-- 
View this message in context: http://r.789695.n4.nabble.com/Does-R-always-insist-on-sending-plot-output-to-a-file-tp2330557p2330557.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list