Learn R Programming

RcppOctave (version 0.9.5)

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.
rm.ans
a logical that indicates if the automatic Octave variable ans should be included in the result (FALSE) or removed (TRUE).
options
options passed to Octave function who. See section Octave Documentation.
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]{RcppOctave::o_help(who, format='rd')}

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

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