.Rprofile (505B)
1 #!/usr/bin/env Rscript
2
3 # Enforce confliction mode
4 if (!require("conflicted", quietly = TRUE)) {
5 message(
6 "Package \"conflicted\" is not installed. You can install it via: ",
7 "install.packages(\"conflicted\")"
8 )
9 }
10
11 # Colour output for the R console
12 if (!require("colorout", quietly = TRUE)) {
13 message(
14 "Package \"colourout\" is not installed. You can install it from: ",
15 "https://github.com/jalvesaq/colorout"
16 )
17 }
18
19 # Always open help files in the web browser
20 options(help_type='html')