Encapsulate calculations and generating a grob
Evaluates an expression that includes both calculations and generating a grob that depends on the calculations so that both the calculations and the grob generation will be rerun when the scene is redrawn (e.g., device resize or editing).
Intended only for expert use.
object of mode
a list defining the environment in which
A character identifier.
An object of class
A Grid viewport object (or NULL).
A grob is created of special class
(and drawn, in the case of
makeContent method for this class
evaluates the expression with the list as the evaluation
environment (and the grid Namespace as the parent of that
expr argument should return a grob as its result.
These functions are analogues of the
recordGrob() functions; the difference is that
these functions are based on the
while those functions are based on the
This function must be used instead of the
recordGraphics; all of the dire warnings
recordGraphics responsibly also apply here.
1 2 3 4 5
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.