setLoadView {iSPlot}R Documentation

Load A Data File

Description

setLoadView opens a file explorer, which allows the user to load a file. loadDF is called after the file was loaded and it determines if the just loaded file contains a data object of class data.frame or matrix. If the file loads a dataframe or a matrix, that data set is added to dfList in dataEnv. setLoadView is called when the user chooses 'open file' from the file menu. setLoadView and setOpenDView are two ways to load a data set.

Usage

setLoadView()
loadDF(newData,fileExt,fileName)

Arguments

newData the new data element that was just loaded
fileExt the file extension in upper case
fileName the name of the file (will be the name of the data in dfList)

Author(s)

Elizabeth Whalen

See Also

updateControlWindow, setOpenDView, loadDFData

Examples

  if (interactive())
  {
    createControlWindow()
    # normally setLoadView is called by choosing Open File under the File menu
    setLoadView()
  }

[Package iSPlot version 1.0.3 Index]