R/newgraphwindow.R

Defines functions newgraphwindow

Documented in newgraphwindow

newgraphwindow <-
function() {
# This function aims to create graphics windows on different OS's where possible
graphoutcome <- try(windows(),silent=TRUE)
if(length(graphoutcome) > 0) graphoutcome <- try(dev.new(),silent=TRUE)
if(length(graphoutcome) > 0) graphoutcome <- try(x11(),silent=TRUE)
if(length(graphoutcome) > 0) print("Graphics unavailable on this workstation")
}
AndrewLJackson/siar documentation built on May 5, 2019, 5:59 a.m.