Learn R Programming

RcppOctave (version 0.18.1)

sourceExamples: 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

Run this code


sourceExamples()
sourceExamples('ex_source.m')

Run the code above in your browser using DataLab