Learn R Programming

RcppOctave (version 0.18.1)

o_who: Listing Octave Variables

Description

Lists currently defined variables in Octave global context.

Usage

o_who(..., options, rm.ans = FALSE, unique = TRUE)

Arguments

...
filtering patterns or extra arguments passed to o_who and o_whos. Only names matching any of the patterns are returned.
options
options passed to Octave function who. See section Octave Documentation.
rm.ans
a logical that indicates if the automatic Octave variable ans should be included in the result (FALSE) or removed (TRUE).
unique
a logical that indicates whether unique names should be returned. This argument is relevant in the case multiple patterns are specified in ....

Value

  • None

Octave Documentation for <em>who</em>

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

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

# roxygen generated flag options(R_CHECK_RUNNING_EXAMPLES_=TRUE)

o_clear() o_who() l <- as.list(setNames(1:10, letters[1:10])) o_assign(l) o_who() stopifnot( identical(o_who(), names(l)) )

prefnames <- paste('pref', letters[1:10], sep='') o_assign( setNames(l, prefnames) ) o_who() o_who('pref*') stopifnot( identical(o_who('pref*'), prefnames) )

Other listoct: o_ls; o_whos