Photos
Blog
Projects
vanrenterghem.biz
projects
/
Dotty.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1479103
)
Simplify R startup options.
author
Frederik Vanrenterghem
<frederik@vanrenterghem.biz>
Mon, 16 Sep 2019 11:21:31 +0000
(19:21 +0800)
committer
Frederik Vanrenterghem
<frederik@vanrenterghem.biz>
Mon, 16 Sep 2019 11:21:31 +0000
(19:21 +0800)
R/.Rprofile
patch
|
blob
|
history
diff --git
a/R/.Rprofile
b/R/.Rprofile
index 6709b6cca03556a8f0fc407bda8c7230c4e19cd1..c9930201876ed10b72b7f15f15fc8930e24f0a77 100644
(file)
--- a/
R/.Rprofile
+++ b/
R/.Rprofile
@@
-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")