Loading Example M-files

Description

Source an example M-file in the sub-directory “scripts/” of RcppOctave installation.

Usage

sourceExamples(file)

Arguments

file
filename of the example script to source. If missing, the function lists all the m-files from the “scripts/” sub-directory.

Examples


## Don't show: 
# roxygen generated flag
options(R_CHECK_RUNNING_EXAMPLES_=TRUE)
## End Don't show

sourceExamples()
## [1] "ex_functions.m" "ex_source.m"
sourceExamples('ex_source.m')