setOpenDView {iSPlot}R Documentation

Sets the control window to open data view

Description

setOpenDView sets the control window so it shows a list of data objects that are returned from data(). The user can then highlight an item from the list and choose to load that data. Currently, only matrices and dataframes can be loaded so if the user chooses a data object that is not of a matrix or dataframe, then a message box will pop up to let the user know that the data could not be loaded. loadIfDF checks if the data object is a matrix or dataframe and then loads the object if it is a matrix or dataframe or it calls showNotDF, which pops up the message box to let the user know that the data was not loaded. setOpenDView is called when the user chooses 'open data' from the file menu.

Usage

setOpenDView()
loadIfDF()
showNotDF(curDF)

Arguments

curDF the current data name

Author(s)

Elizabeth Whalen

See Also

updateControlWindow, loadDFData, setLoadView, getLoadedDF

Examples

  if (interactive())
  {
    createControlWindow()
    # setOpenDView should be called by the user choosing 
    # 'open data' under the file menu
    setOpenDView()
  }

[Package iSPlot version 1.0.3 Index]