Octave.home: Octave Home Directory

Description Usage Arguments Details Value See Also Examples

View source: R/config.R

Description

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.

Usage

1
Octave.home(..., configure = Octave.config[["customed"]], use.system = TRUE)

Arguments

...

character strings that are appended to Octave path via file.path.

configure

logical that indicates if one should directly return the path that was used when configuring (i.e. installing) RcppOctave

use.system

logical that indicates if one should try using 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).

Details

The path to Octave home directory is determined in the following order:

If set, the global option or environment variable should contain the absolute path to Octave root directory.

Value

a character string, or NULL if the path was not found.

See Also

Other Octave.info: Octave.config, o_config_info, octave_config

Examples

1

renozao/RcppOctave documentation built on May 27, 2019, 5:52 a.m.