getFileNames.ggobi {Rggobi} | R Documentation |
It is often convenient to be able to query the source of a data set currently in ggobi. When the data is read from a file, the name of the file or URL is sufficient. This function returns the name of the primary file from which the data was read. It can also be asked to return a list of the secondary or auxillary files that were read due to a reference in the primary file.
getFileNames.ggobi(auxillary = FALSE, .gobi=getDefaultGGobi())
auxillary |
a logical value indicating whether to retur the secondary or auxillary files that were read based on a reference in the primary or other files. |
.gobi |
the ggobi instance whose data sources are to be queried. |
A list with an element for each dataset in the ggobi instance.
If auxillary
is FALSE
, each element is a
single string giving the name of the primary file containing the data.
If auxillary
is TRUE
, the list's element is a character
vector containing all the files read when processing the primary file.
Duncan Temple Lang
g <- ggobi(system.file("data", "sat.xml", package="Rggobi"), args="-noinit") g$setData(system.file("data", "sat.xml", package="Rggobi"), add=TRUE) g$getFileNames()