Learn R Programming

TMB (version 1.7.4)

runExample: Run one of the test examples.

Description

Compile and run a test example (runExample() shows all available examples).

Usage

runExample(name = NULL, all = FALSE, thisR = TRUE, clean = FALSE, exfolder = NULL, dontrun = FALSE, subarch = TRUE, ...)

Arguments

name
Character name of example.
all
Run all the test examples?
thisR
Run inside this R?
clean
Cleanup before compile?
exfolder
Alternative folder with examples.
dontrun
Build only (don't run) and remove temporary object files ?
subarch
Build in sub-architecture specific folder ?
...
Passed to compile.