doAction {PBSmodelling} | R Documentation |
Executes the action expression formulated by the user and written as an action by a widget.
doAction(act, envir=.GlobalEnv)
act |
string representing an expression that can be executed |
envir |
the R environment in which to evaluate the action; the default is the global environment or user's workspace. |
If act
is missing, doAction
looks for it in the action
directory of the window's widget directory in .PBSmod
. This
action can be accessed through getWinAct()[1]
.
Due to parsing complications, the expression act
must contain
the backtick character ` wherever there is to be an internal
double quote " character. For example,
"openFile(paste(getWinVal()$prefix,`.tpl`,sep=``))"
Invisibly returns the string expression act
.
Rowan Haigh, Pacific Biological Station, Nanaimo, BC