getDefaultGGobi {Rggobi}R Documentation

Identifies the active/default ggobi instance

Description

There can be multiple concurrent ggobi instances within an R session. One of them acts as the default to which commands are sent if the instance is not explicitly identified within the call (via the .gobi argument). getDefaultGGobi functions identifies the index of the instance which is the default. setDefaultGGobi tells the system which instance to treat as the default.

Usage

 getDefaultGGobi()
 setDefaultGGobi(which)

Arguments

which The index of the ggobi instance which is to become the default. This should be an integer between 1 and the value of getNumGGobis

Value

An integer vector of length 1.

Author(s)

Duncan Temple Lang

References

http://www.ggobi.org

See Also

setDefaultGGobi, ggobi

Examples

  # Create two ggobi instances
  # and find out which is default
  ggobi()
  ggobi()
  getDefaultGGobi()
  setDefaultGGobi(1)
  getDefaultGGobi()

[Package Contents]