
r_swish.pl -- Bind Rserve to SWISH
The user must provide the file search path rserve
to local the R
connection library.
r_call:r_console(+Stream, ?Data)[multifile]- Relay Rserve captured output to SWISH using writeln.
r_call:r_console_property(?Property)[multifile]- Relay the size of the console
r_call:r_display_images(+Images)[multifile]- Relay received images to the SWISH console using
pengine_output/1.
svg_html(+Images, -HTMlString) is det[private]- Turn a list of SVG images into an HTML string.
- pan_zoom[private]
- Add pan and soom behaviour to embedded SVG. This function also
renames the
id
attribute and their references.
- bug
- - We need a generic way to fix all references to the ID.
Is there a list of such attributes?
- - Instead of
"use"
, we should use "[xlink\\:href]"
,
but this does not seem to work!? - - When generalised, this could move into runner.js.
r_download- Provide download buttons for all created files. First calls the
R function
graphics.off()
to close all graphics devices.
r_download(File)- Provide a download button for the indicates file.