RcppOctave provides a simple interface to Octave
via the object .O, an instance of class
Octave, that allows for direct access to Octave
functions and variables using calls such as:
.O$svd(matrix(1:9,3)).
Usage
.O
## S3 method for class 'Octave':
$(x, name)
## S3 method for class 'Octave':
[[(x, i, exact = TRUE)
## S3 method for class 'Octave':
$(x, name) <- value
Arguments
exact
logical not used.
x
object from which to extract element(s) or in
which to replace element(s).
name
A literal character string or a name
(possibly backtick quoted). For extraction, this
is normally (see under Environments) partially
matched to the
i
indices specifying elements to extract or
replace. Indices are numeric or character
vectors or empty (missing) or NULL. Numeric
values are coerced to integer as by
a
value
typically an array-like Robject of a
similar class as x.