getGGobi {Rggobi}R Documentation

Returns a ggobi reference

Description

This allows one to get a list of all the ggobi instances currently in existence in the R session. Also, one can fetch particular instances. This function returns objects of class ggobi which can the be used as the .gobi argument in the different function calls, and also for invoking these functions in a more convenient form, i.e. names(g) Additionally, these are returned as objects of class reference It is most convenient to call the ggobi functions

Usage

getGGobi(...)

Arguments

... identifiers, typically integers, identifying which ggobi instances are to be returned. If no values are specified, a list of all the ggobi instances is returned.

Value

A list of the ggobi instances identified by the ... arguments. Each element is an object of class ggobi. If there is a single argument, the list is collapsed and the single object of class ggobi is returned.

Author(s)

Duncan Temple Lang

References

http://www.ggobi.org

See Also

getDefaultGGobi names.ggobi $.ggobi

Examples

  ggobi(system.file("data", "sat.xml", package="Rggobi"), args="-noinit")
  g <- getGGobi()
  if(!is.null(g)) {
    if(!inherits(g, "ggobi"))
       g <- g[[1]]
    names(g)
    g$getColors()
    getColors.ggobi(.gobi = g)
  }

[Package Rggobi version 1.1-3 Index]