Get info about a variable by applying the relevant varInfo
entries.
The variable, any R value.
Character vector of field names in varInfo
. Retrieve first match.
Character vector of field names in varInfo
. Retrieve all matches.
Whether to print debug info using logCat
, logPrint
.
The indices to retrieve if child variables are retrieved.
A named list, containing the corresponding varInfo
results.
The allowed varInfo
entries and their types are:
childVars: MinimalVariable[]
nChildVars: number
customAttributes: MinmalVariable[]
internalAttributes: MinmalVariable[]
toString: string
type: string
evaluateName: string
printFunc: function | boolean
Where MinimalVariable[]
refers to a list of named lists with entries:
name: string
rValue: any R value
setter: (optional, undocumented)
setInfo: (optional, undocumented)
varInfos