rggobi (version 2.1.22)

close.GGobi: Close GGobi instance

Description

Terminates and discards a ggobi instance

Usage

# S3 method for GGobi
close(con, …)

Arguments

con

ggobi object to close

ignored and for compatability generic function.

Details

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.

Examples

Run this code
# NOT RUN {
if (interactive()) {
g1 <- ggobi(mtcars)
g2 <- ggobi(mtcars)
close(g2)
close(ggobi_get())}
# }

Run the code above in your browser using DataLab