valid_ggobi {rggobi} | R Documentation |
Determines whether a reference to an internal ggobi object is valid
valid_ggobi(.gobi)
.gobi |
an object of class ggobi which refers to an internal ggobi instance. |
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 R refers is still in existence.
TRUE
if real object still exist, FALSE
otherwise
Hadley Wickham <h.wickham@gmail.com>
g <- ggobi(mtcars) valid_ggobi(g) close(g) valid_ggobi(g)