| codeObject-class {SRPM} | R Documentation |
Class "codeObject"
Description
This class essentially represents a code chunk in a Sweave document.
If the results of the code are cached, the cache database is stored,
as are any figures that are created.
Slots
text:- Object of class
"character" ~~
db:- Object of class
"filehashOrNULL" ~~
fig:- Object of class
"character" ~~
Methods
show:- prints the code corresponding to the code chunk,
including comments, if any
view:- loads code in the pager
viewplot:- if there is a figure associated with this
code chunk, the figure is loaded in the PDF viewer (only works for
PDF figures)
[Package
SRPM version 0.1-5
Index]