summaryrefslogblamecommitdiff
path: root/Rprofile
blob: 680ea2e101072577ad96ae1b4f327fdf37af8ebe (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

                           
                            










                                                                       
                              
                                              




                                    
options(pdfviewer="okular")
options(browser="firefox")
options(menu.graphics=FALSE)

# R package repositories
local({
  r <- getOption("repos")
  r["CRAN"] <- "https://cran.rstudio.com"
  #r["CRAN"] <- "http://cran.at.r-project.org" # if https does not work
  #r["eddelbuettel"] <- "https://eddelbuettel.github.io/drat"
  #r["ghrr"] <- "https://ghrr.github.io/drat"
  options(repos = r)
})

# For (re)installing PythonInR
#Sys.setenv(USESPECIALPYTHONVERSION="python3")

if (interactive()) {
  suppressMessages(require(reprex))
  suppressMessages(require(usethis))
}

Contact - Imprint