isValid.ggobi {Rggobi} | R Documentation |
One can create multiple, independent ggobi instances within a single
R session and one can also remove them either programmatically or
via the GUI. To be able to refer to these objects which are
actually C-level internal objects, one has a reference or handle
from an S object. Since the C level object can be destroyed
while the S object still refers to them, this function
allows one to check whether the internal object
to which S ggobi
object refers is still in existence.
isValid.ggobi(.gobi)
.gobi |
an object of class ggobi which refers to an
internal ggobi instance. |
A logical value with TRUE
indicating that
the reference identifies a real object that currently
exists within the ggobi engine, or FALSE
that the C level object to which the S object refers no longer exists.
Duncan Temple Lang
g <- ggobi(system.file("data", "flea.xml", package="Rggobi"), args="-noinit") # still valid isValid.ggobi(g) close(g) # no longer valid. isValid.ggobi(g)