I'd like to capture the output of the following plot to a variable containing a bitmap, in R:
require(stats) plot(sin, -pi, 2*pi) # see ?plot.function
This saves a bitmap file on the harddrive:
bmp("spam.bmp") plot(sin, -pi, 2*pi) dev.off()
Googling R save bitmap get's you this answer.
R save bitmap
2.1m questions
2.1m answers
60 comments
57.0k users