Class "vignetteCode"
This class represents the code chunks and other related information from a vignette file. It also provides for the ability to evaulate the code chunks in a separate environment.
Objects can be created by calls of the form new("vignetteCode", ...)
Also, a helper function getVignetteCode
is provided that will do
all of the dirty work required to retrieve a vignetteCode
object
from a vignette file.
chunkList
:Object of class "chunkList"
Holds
the code chunks from the vignette file
path
:Object of class "character"
The path of
the vignette file
vigPackage
:Object of class "character"
The
package (if appropriate) that the vignette came from
depends
:Object of class "character"
Any
package dependencies for the vignette
evalEnv
:Object of class "environment"
An
environment used for evaluation of the code chunks.
signature(object = "vignetteCode")
: Displays
information about the code contained in the object
signature(object = "vignetteCode")
:
Retrieves the chunkList
object.
signature(object = "vignetteCode")
: Retrieves
the actual code chunks (not wrapped by the chunkList
class)
signature(object = "vignetteCode")
: Returns
the list of package dependencies for this vignette
signature(object =
"vignetteCode",pos="numeric")
: Will evaulate the specified code
chunk in the evalEnv
environment
signature(object = "vignetteCode")
: Returns
the evaluation environment
signature(object =
"vignetteCode",pos="numeric")
: Returns the codeChunk
object representing the specified code chunk position
signature(object = "vignetteCode")
: Returns
the number of chunks in the object
signature(object = "vignetteCode")
: Returns
the package the vignette is a part of
signature(object = "vignetteCode")
: Returns the
local file path to the vignette
signature(object =
"vignetteCode",pos="numeric", value="character")
: Resets the
code chunk specified by pos
to contain the code specified
by value
signature(object = "vignetteCode")
: A less
verbose output of information then with show
Jeff Gentry
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.