sets up / updates a table of keywordstyles to different packages
character; the packages for which keywordstyle information is to be stored
character or missing; the corresponding keywordstyle format
strings; if missing the corresponding option
The corresponding table is stored globally in the (non-exported) object
.tobeDefinedPkgs, which is hidden in the namespace of this package.
It is used afterwords by the masked versions of
library of this package to allow for
defining a set of keywordstyle formats for different packages
right in the preamble of a ‘.Rnw’ file.
This transfer of information to
is a deviation from the functional programming paradigm but is necessary at this place,
as otherwise (although this is still allowed)
would have to be called with non-standard (i.e. package base-) arguments,
which is not the goal of including R code sniplets by Sweave.
Peter Ruckdeschel email@example.com
1 2 3 4 5