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)

Arguments

act string representing an expression that can be executed

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.

Note

The action is

Author(s)

Rowan Haigh, Pacific Biological Station, Nanaimo BC

Examples

  createWin("button text=\"list directory files\" func=doAction action=print(ls())", astext=TRUE)

[Package PBSmodelling version 2.55.175 Index]