close.ggobi {Rggobi} | R Documentation |
This allows the caller to close a ggobi instance and discard the resources it uses. The function closes the display windows and variable panel window associated with this ggobi instance. It also resets the default ggobi instance to be the last one created.
close
is a generic function in R that
applies to objects of class ggobi
, ggobiDisplay
and
ggobiDisplayDescription
.
close.ggobi(con=getDefaultGGobi(),...)
con |
the object of class ggobi identifying the specific ggobi instance to be closed.
This is named con to be consistent with the generic function.
|
... |
ignored and here only for compatability with the associated generic function. |
If the .gobi
argument is specified, the
default ggobi (i.e. that returned via getDefaultGGobi
is only modified if that object is the default ggobi instance.
Returns a logical value indicating whether this operation was successful or not.
Duncan Temple Lang
ggobi
getGGobi
getDefaultGGobi
close.ggobiDisplay
close.ggobiDisplayDescription
ggobi(args=c("-verbose", "-xml", system.file("data", "flea.xml", package="Rggobi"))) close.ggobi() # Open two ggobi instances. g1 <- ggobi(args=c("-verbose", "-xml", system.file("data", "flea.xml", package="Rggobi"), args="-noinit")) g2 <- ggobi(args=c("-verbose", "-xml", system.file("data", "buckyball.xml", package="Rggobi"), args="-noinit")) # Close g1 close.ggobi(g1)