setLoadView {iSPlot} | R Documentation |
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.
setLoadView() loadDF(newData,fileExt,fileName)
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) |
Elizabeth Whalen
updateControlWindow
,
setOpenDView
,
loadDFData
if (interactive()) { createControlWindow() # normally setLoadView is called by choosing Open File under the File menu setLoadView() }