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 6709b6c..c993020 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")