| miniGUIhelpers {miniGUI} | R Documentation |
Utility functions
Description
Some utility functions that are not exported
Usage
miniGUIgetFormals(f)
miniGUIcallEval(f,p,e)
miniGUIoutput(x,mess="\nminiGUI output: \n")
Arguments
f |
An R\ function. |
p |
a list with all the parameters |
e |
environment where the parameters |
x |
An R\ object to print. |
mess |
a string with a brief message that is printed before
|
Details
These functions are internal functions that helps building the
GUI map. addMenusCmd adds a menu to the main
miniGUI frame. miniGUIgetFormals gets the
parameter list of the function f filtering ellipsis.
miniGUIcallEval performs the evaluation f when
the arguments are set to those of p. miniGUIoutput
is used to print out the result of the computation.
At the present moment, miniGUIeval is the same as the function
miniGUIcallEval, while miniGUIEnvir is used to store
miniGUI internal data. In particular, miniGUIEnvir$miniGUIans
stores the result of the last computation made by a call to any of the
miniGUI menu functions or any function widget created with
by the functions makeWidgetCmd or mapFuncToWidget. On
the other hand miniGUIEnvir$miniGUIData stores information and
parameters required to compute function widgets. In ordet to do so,
function storageName is used to avoid name collisons. The functions
setMiniGUIData setMiniGUIans, getMiniGUIData,
getMiniGUIans are used to set and get data from
miniGUIEnvir$miniGUIData and miniGUIEnvir$miniGUIans resp..
Author(s)
Jorge Luis Ojeda Cabrera (jojeda@unizar.es).
See Also
miniGUI, makeWidgetCmd,
mapFuncToWidget, tcltk.