[Rd] Shouldn't grDevices::quartz() give an error instead of a warning when not available?
hb at biostat.ucsf.edu
Sun Jan 11 02:04:46 CET 2015
> quartz(); cat("Should this have generated an error instead?\n")
In quartz() : Quartz device is not available on this platform
Should this have generated an error instead?
Error in .External2(C_X11, d$display, d$width, d$height, d$pointsize, :
unable to start device X11cairo
In addition: Warning message:
In x11() : unable to open connection to X11 display ''
Wouldn't it make sense that a failed call to quartz() would give an
R Under development (unstable) (2015-01-09 r67397)
Platform: x86_64-unknown-linux-gnu (64-bit)
attached base packages:
 stats graphics grDevices utils datasets methods base
More information about the R-devel