Returns the path to Octave home directory, i.e. the
directory that contains the bin/
sub-directory
where Octave binaries can be found, e.g., typically
/usr/
on Linux machines.
Octave.home(..., configure = FALSE, use.system = TRUE)
file.path
.octave-config
to retrieve Octave home
directory. This would be done as a last resort, if the
path could not be determined in any other ways (see
Details).a character string, or NULL
if the path was not
found.
The path to Octave home directory is determined in the following order:
'octave.home'
; 'OCTAVE_HOME'
; octave-config
, which is itself
looked up in the system PATH. If set, the global option or environment variable should contain the absolute path to Octave root directory.
## Don't show:
# roxygen generated flag
options(R_CHECK_RUNNING_EXAMPLES_=TRUE)
## End Don't show
Octave.home()
## [1] "/usr"
o_config_info
,
octave_config
, Octave.config
,
Octave.info
, Octave.version