getDataEnvVar {iSPlot}R Documentation

Returns the value of environment variable

Description

Three environments are used in the iSPlot package: dataEnv, viewEnv, and controlEnv. These three functions, getDataEnvVar, getViewEnvVar, and getControlEnvVar, returns the value of variables stored in these environments.

Usage

getDataEnvVar(dvar)
getViewEnvVar(vvar)
getControlEnvVar(cvar)

Arguments

dvar the character string of the data environment variable
vvar the character string of the view environment variable
cvar the character string of the control environment variable

Details

Currently, the variables available in the 3 environments are:

dataEnv: defaultPlotData, dfList, highColor

viewEnv: activeView, curIDpoint, mainTitleColor, viewList

controlEnv: ag, availDF, chosenX, chosenY, clickEvent, colorBrowser, controlWin, curAction, currentColor, dataF, fillPch, findInfo, findOn, gtkTable, keyVals, menuBar, menus, notDone, oldAction, plotTitle, showDF, toggleButtonXList, toggleButtonYList, vBox, viewMode, winCounter, winDefaultHeight, winDefaultWidth, and windowItem

Value

Returns the value of the environment variable

Author(s)

Elizabeth Whalen

Examples

  if (interactive())
  {
    createControlWindow()
    getControlEnvVar("winDefaultHeight")
  }

[Package iSPlot version 1.2.0 Index]