Quantcast
Channel: R.NET
Viewing all articles
Browse latest Browse all 1634

New Post: Changing Interactive setting on already initialized R engine.

$
0
0
The interactive window I use is "identify()"

Basically I do this;
openGraphWindow(rescale = 'fit')
plot(x)
identify(...)
graphics.off()

"openGraphWindow" <- function(...)
{
        winDevice = which(names(dev.list())=='windows');    # if no window device open a new one, else using the existing
        if (length(winDevice)<1) {
            #dev.set(1)
            windows(...)
            winDevice = which(names(dev.list())=='windows');
        } #else
            dev.set(dev.list()[winDevice]);
        default_PAR_settings();
}

Viewing all articles
Browse latest Browse all 1634

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>