-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.Rprofile
36 lines (32 loc) · 944 Bytes
/
.Rprofile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
options(repos=structure(c(CRAN="http://cran.rstudio.com/")))
# Lines added by the Vim-R-plugin command :RpluginConfig (2014-Oct-14 16:27):
if(interactive()){
options(setwidth.verbose = 1,
colorout.verbose = 1,
nvimcom.verbose = 1,
help_type = "text")
options(editor='nvim')
options(menu.graphics = FALSE)
options(save.defaults = list(compress = FALSE))
options(prompt = " ")
library(nvimcom)
library(pacman)
#syntax highlighting
library(colorout)
if (!Sys.getenv('TERM') %in% c('', 'linux'))
setOutputColors256(
normal = 145,
number = 12,
negnum = 9,
string = 10,
const = 13,
stderror = 120,
error = c(1, 0, 1),
warn = 5,
verbose=FALSE
)
}
.bc = function() {
print('Sourcing http://bioconductor.org/biocLite.R')
source("http://bioconductor.org/biocLite.R")
}