doAction {PBSmodelling}R Documentation

Execute Action Created by a Widget

Description

Executes the action expression formulated by the user and written as an action by a widget.

Usage

doAction(act, envir=.GlobalEnv)

Arguments

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.

Details

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=``))"

Value

Invisibly returns the string expression act.

Author(s)

Rowan Haigh, Pacific Biological Station, Nanaimo, BC


[Package PBSmodelling version 2.06 Index]