Description Objects from the Class Slots Methods Author(s) See Also Examples
This class is essentially a wrapper for the
codeChunk class. It contains all of the codeChunks from
a vignette file.
Objects can be created by calls of the form new("chunkList", ...).
chunks:Object of class "list" Stores a list of
codeChunk objects, representing all of the code chunks from a
vignette file.
evalEnv:Object of class "environment" An
environment used for evaluation of the code chunks.
signature(object = "chunkList"): Displays verbose
information about the code chunks
signature(object = "chunkList"): Retrieves a
list of codeChunk objects
signature(object = "chunkList"):
Collapses all of the code chunks into one block of code and
returns this
signature(object = "chunkList"): Retrieves a
specific code chunk
signature(object = "chunkList"): Returns the
number of code chunks in this object
signature(object = "chunkList", value="character"): Changes
the code in a given codeChunk contained by this object
signature(object = "chunkList"): A less
verbose display of information about the object
signature(object = "chunkList",
pos="numeric"): Evaluates the code chunk at the specified
position in the chunkList object
Jeff Gentry
Sweave, codeChunk, vignetteCode
1 2 3 | library("utils")
testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package="utils")
z <- Stangle(testfile,driver=tangleToR)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.