Retrieves Octave configuration variables using
octave-config
.
octave_config(varname, verbose = FALSE, warn = TRUE, mustWork = TRUE, bindir = Octave.home("bin"))
x
is not a valid config variable name.octave-config
. If NULL
or
NA
, then the system PATH is looked up.octave_config
uses the octave-config
utility binary shipped with Octave to query details about
the local Octave installation. Failure to retrieve such
information is generally due to the binary not being
found. By default, it is looked up in the bin/
sub-directory of the path returned by
Octave.home()
.
## Don't show:
# roxygen generated flag
options(R_CHECK_RUNNING_EXAMPLES_=TRUE)
## End Don't show
octave_config('VERSION')
## VERSION
## "3.6.4"
octave_config('BINDIR')
## BINDIR
## "/usr/bin"