demo/embedded.R

require(RGtk2)
win <- gtkWindow()
da <- gtkDrawingArea()
win$add(da)
asCairoDevice(da)
plot(1:10)

Try the cairoDevice package in your browser

Any scripts or data that you put into this service are public.

cairoDevice documentation built on Oct. 11, 2021, 5:23 p.m.