Description Usage Arguments Details Value Author(s) Examples
Determines whether a reference to an internal ggobi object is valid
1 | valid_ggobi(.gobi)
|
.gobi |
an object of class |
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>
1 2 3 4 5 | if (interactive()) {
g <- ggobi(mtcars)
valid_ggobi(g)
close(g)
valid_ggobi(g) }
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.