ggobi / rggobi

Interface between R and GGobi
http://www.ggobi.org/rggobi
Other
13 stars 6 forks source link

capturing the current display #3

Open stla opened 10 years ago

stla commented 10 years ago

Here Michael Lawrence has provided a way to capture the current display of Ggobi, and after having used it, I can guarantee it works very well. It would be nice to include it in the package.

currentDisplay <- function(x) UseMethod("currentDisplay")
currentDisplay.GGobi <- function(x) {
 rggobi:::.GGobiCall("getCurrentDisplay", .gobi = x)
}