Learn R Programming

RcppOctave (version 0.18.1)

o_load: Loading Variables into Octave

Description

Loads variables from a file, a list or an environment.

Usage

o_load(from, ..., options)

Arguments

from
a list or an environment from where the objects should be loaded
...
names of the variables to load
options
argument passed to the Octave function load. See section Octave Documentation.

Octave Documentation for <em>load</em>

[results=rd,stage=render]{if( .Platform$OS.type != 'windows' || .Platform$r_arch != 'x64' ) RcppOctave::o_help(load, format='rd')}

[Generated from Octave-RcppOctave::o_version() on Sys.time()]

# roxygen generated flag options(R_CHECK_RUNNING_EXAMPLES_=TRUE)

# Loading from a MATLAB/Octave file #o_load

# Loading from an R list o_clear() l <- list(a=1, b=20, c=runif(10), d="this is a string", e=matrix(1:15, 3, 5)) o_load(l)

# Loading from an R environment o_load( list2env(l) )

# Partial loading o_clear() o_load(l, a, b, c) o_clear() o_load(list2env(l), d, e)