close.ggobiDisplay {Rggobi} | R Documentation |
These functions allow one to discard a display window belonging to a ggobi instance.
close.ggobiDisplay(con, ...) close.ggobiDisplayDescription(con,...)
con |
the ggobiDisplay or ggobiDisplayDescription
object that identifies the actual display window to be closed. |
... |
ignored but present to be consistent with the definition of the generic function. |
Note that these are methods rather than functions that can take integer values to identify the display and ggobi.
A logical value indicating whether the close operation
was successful (TRUE
) or not (FALSE
).
Duncan Temple Lang
scatmat.ggobi
scatterplot.ggobi
parcoords.ggobi
g <- ggobi(system.file("data", "flea.xml", package="Rggobi"), args="-noinit") d <- g$scatmat(1:3) close(d) g$parcoords(1:5) # close based on a description, specifically # its type and the particular variables # in the plot. for(i in g$getDisplays(T)) { if(names(i$Type) == "Parallel Coordinates") { if(!is.na(match("tars1", names(unlist(d$Plots))))) close(i) } }