setDataFile.ggobi {Rggobi} | R Documentation |
This replaces the existing data in the specified ggobi instance with the dataset(s) in the file given by name.
setDataFile.ggobi(file, mode="unknown", add = T, .gobi=getDefaultGGobi())
file |
the name of the file from which to read the data. Note that if XML support has been compiled for ggobi, this can be a compressed file or even a URL. |
mode |
this indicates which format to expect the data to be in. This is optional and if not supplied, the ggobi system attempts to find the file by looking through different extensions and checking the contents for a valid data stream. This helps to avoid loading data unitentionally due to name conflicts. |
add |
a logical value indicating whether to add the newly loaded dataset to the existing collection of data sets, or simply to replace them. |
.gobi |
the ggobi instance into which the new data should be loaded. This is needed only if there are multiple ggobi instances and the target is not the currently active/default instance. |
This re-initializes the ggobi instance, discarding the existing data and plots, and creating the default starting view.
a logical value indicating whether the load was successful. \ In the future, this might be a dataset description.
Duncan Temple Lang
ggobi
setDataFrame.ggobi
getFileNames.ggobi
setDataFile.ggobi(system.file("data", "flea.xml", package="RSggobi")) setData.ggobi(system.file("data", "flea.xml", package="RSggobi")) ## Not run: setData.ggobi("http://www.ggobi.org/data/flea.xml") ## End(Not run)