Inlined Graphics Devices
This is an example of using the R gtk device within an HTML widget.
It requires a modified version of R for the moment and unfortunately
requires the use of the Gnome interface (rather than being able to
run in Emacs).
And we can produce plots by clicking on
The code that creates the device and puts it into the
HTML widget is in gtkhtml.S.
dev <- gtkDrawingArea()
box <- gtkHBox(TRUE,10)
All the user needs to put in the HTML document is
<OBJECT TYPE="app/x-R-device" NAME="device" WIDTH=500 HEIGHT=400></OBJECT>
Duncan Temple Lang
Last modified: Mon Aug 12 07:30:13 EDT 2002