o_inpath
tells if a directory or files are in Octave path.
o_addpath(DIR1, ..., OPTION = "-begin")o_inpath(...)
'-begin', 0, '-end', 1
.
See section Octave Documentation.[Generated from Octave-
# call an undefined function try(.CallOctave('fun1'))
# add to the path a directory with a .oct file that contains a definition for 'fun1' o_addpath(system.file('scripts', package='RcppOctave'))
# re-call the function #.CallOctave('fun1')
# change the .oct file
o_addpath(tempdir()) o_inpath(tempdir()) o_inpath(tempfile())
o_source