Compiles an RSP document.
# S3 method for default
rcompile(..., file=NULL, path=NULL, output=NULL, workdir=NULL, envir=parent.frame(),
args="*", until="*", verbose=FALSE)
character
strings with RSP markup.
Alternatively, a file, a URL or a connection
from
with the strings are read.
If a file, the path
is prepended to the file, iff given.
A character
string or a connection
specifying where
output should be directed.
The default is a file with a filename where the input filename
has been prepended by compiled-
and saved
in the directory given by the workdir
argument.
The working directory to use after parsing and
preprocessing.
If argument output
specifies an absolute pathname,
then the directory of output
is used, otherwise the
current directory is used.
The environment
in which the RSP string is
preprocessed and evaluated.
Specifies how far the compilation should proceed.
See Verbose
.
Returns an RspString
, RspDocument
or
an RspFileProduct
(depending on argument output
).