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))
.The method $
provides a direct way of calling Octave functions or
retrieving variables from Octave base context, via e.g. .O$svd(x)
or .O$a
.
It is equivalent to o_get(name)
.
The method $<-
allow to directly assign/set Octave variables via e.g.
.O$a <- 10
.
The method [[
provides an alternative way of retrieving Octave objects,
and is equivalent to o_get(name)
.