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
1.4m articles
1.4m replys
5 comments
57.0k users