grid.script: Create a grid grob containing an SVG script
Description
Creates a script object which is a normal grid grob
containing an SVG script. Useful in conjunction with
gridToSVG, to produce an SVG document with
script elements.Usage
grid.script(script=NULL, filename=NULL, type="application/ecmascript",
inline=FALSE, name=NULL)Arguments
script
A character value specifying script code.
filename
The name of a file that contains script code.
type
The type of the script code.
inline
A logical specifying whether the script code from the
file should be included inline or just referenced.
name
A character value giving a name for the grob.
synopsis
scriptGrob(script=NULL, filename=NULL, type="application/ecmascript",
inline=FALSE, name=NULL)
grid.script(...)