getFileNames.ggobi {Rggobi}R Documentation

Identify the files associated with a ggobi instance's data sets.

Description

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.

Usage

getFileNames.ggobi(auxillary = FALSE, .gobi=getDefaultGGobi())

Arguments

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.

Value

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.

Author(s)

Duncan Temple Lang

References

http://www.ggobi.org

See Also

getGGobi setData.ggobi

Examples

 g <- ggobi(system.file("data", "sat.xml", package="Rggobi"), args="-noinit")
 g$setData(system.file("data", "sat.xml", package="Rggobi"), add=TRUE)

 g$getFileNames()

[Package Rggobi version 1.1-3 Index]