]> git.vanrenterghem.biz Git - Dotty.git/commitdiff
Simplify R startup options.
authorFrederik Vanrenterghem <frederik@vanrenterghem.biz>
Mon, 16 Sep 2019 11:21:31 +0000 (19:21 +0800)
committerFrederik Vanrenterghem <frederik@vanrenterghem.biz>
Mon, 16 Sep 2019 11:21:31 +0000 (19:21 +0800)
R/.Rprofile

index 6709b6cca03556a8f0fc407bda8c7230c4e19cd1..c9930201876ed10b72b7f15f15fc8930e24f0a77 100644 (file)
@@ -6,16 +6,7 @@ r["CRAN"] <- "http://cran.csiro.au"
 options(repos = r)
 rm(r)
 
-## customize the defaults on X
-setHook(packageEvent("grDevices", "onLoad"),
-        function(...) grDevices::X11.options(width=8, height=8, 
-                                             xpos=0, pointsize=10, 
-                                             #type="nbcairo"))  # Cairo device
-                                             #type="cairo"))    # other Cairo dev
-                                             type="xlib"))      # old default
-
 ## from the AER book by Zeileis and Kleiber
 options(prompt="R> ", digits=4, show.signif.stars=FALSE)
 
-
 options("pdfviewer"="evince")