Displaying 1 result from an estimated 1 matches for "jpeg_stdio_dest".
2007 Sep 01
1
serialized plot object (for a certain device)
Dear list,
Using serialize it is possible to save
the binary string representing an R
object to a raw R vector.
## adapted from ?serialize
x <- serialize(list(1,2,3), NULL)
x
I am looking for a way to capture
the binary string that in normal
use of graphics devices will be
written to (most commonly) a file
connection.
jpeg(file = "test.jpg")
plot(1:10)
dev.off()
In other