Source an example M-file in the sub-directory scripts/ of RcppOctave installation.
sourceExamples(file)
## 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')