Description Usage Arguments Details Value Octave Documentation for addpath See Also Examples
View source: R/base-functions.R
Adds a directory at the beginning of Octave search path.
o_inpath
tells if a directory or files are in Octave path.
1 2 3 |
DIR1 |
path specification to add to Octave search path. See section Octave Documentation. |
... |
other path specifications |
OPTION |
option that specifies how the path should be added.
Possible values are: |
The .oct files present in directories from the search path are looked up when an object or function is requested but not loaded in the current session. The files are watched and automatically reloaded in case modification.
returns invisibly the old value of search path.
[Generated from Octave-\Sexpr{RcppOctave::o_version()} on \Sexpr{Sys.time()}]
Other Octave_files: o_source
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # 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())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.