getWinVal {PBSmodelling}R Documentation

Retreive Widget Values

Description

An optional scope argument allows the function to create local or global variables based on the list that is returned.

Usage

getWinVal(v=NULL, scope="", asvector=FALSE, windowname="")

Arguments

v vector of variable names to be retrieved. If NULL, it is set to every widget.
scope If "", do not set any variables. If "L" create variables local to the parent frame that called the function. If "G" create global variables.
asvector return a vector instead of a list. WARNING: if a widget variable is a true vector or matrix, this will not work.
windowname Which window to select values from. If "" is given, it will use the most recently active window determined from PBS.win\$windowname.

Value

A list (or vector) with named components, based on the variable name as the key, and the value of the associated widget as the value.

See Also

parseWinFile

setWinVal

clearWinVal


[Package PBSmodelling version 0.60 Index]