Define default CRAN repository.
[Dotty.git] / R / .Rprofile
1 options("width"=160)                # wide display with multiple monitors
2 options("digits.secs"=3)            # show sub-second time stamps
4 r <- getOption("repos")             # hard code the AU mirror for CRAN
5 r["CRAN"] <- "http://cran.csiro.au"
6 options(repos = r)
7 rm(r)
9 ## customize the defaults on X
10 setHook(packageEvent("grDevices", "onLoad"),
11         function(...) grDevices::X11.options(width=8, height=8, 
12                                              xpos=0, pointsize=10, 
13                                              #type="nbcairo"))  # Cairo device
14                                              #type="cairo"))    # other Cairo dev
15                                              type="xlib"))      # old default
17 ## from the AER book by Zeileis and Kleiber
18 options(prompt="R> ", digits=4, show.signif.stars=FALSE)
21 options("pdfviewer"="evince")