| chunkList-class {DynDoc} | R Documentation |
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:"list" Stores a list of
codeChunk objects, representing all of the code chunks from a
vignette file.signature(object = "chunkList"): Displays verbose
information about the code chunkssignature(object = "chunkList"): Retrieves a
list of codeChunk objectssignature(object = "chunkList"):
Collapses all of the code chunks into one block of code and
returns thissignature(object = "chunkList"): Retrieves a
specific code chunksignature(object = "chunkList"): Returns the
number of code chunks in this objectsignature(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 objectsignature(object = "chunkList",
pos="numeric"): Evaluates the code chunk at the specified
position in the chunkList objectJeff Gentry
Sweave, codeChunk, vignetteCode
library("utils")
testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package="utils")
z <- Stangle(testfile,driver=tangleToR)