-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rprofile
41 lines (31 loc) · 1.03 KB
/
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
37
38
39
40
41
if (interactive() & Sys.getenv("TERM")!="") {
# options(nvimcom.verbose = 0)
options(nvimcom.verbose = 0)
# options(vimcom.vimpager = FALSE)
library(nvimcom)
# library(colorout)
library(rlerch)
# options(pager = "vimrpager")
#if (Sys.getenv("VIM_PANE") != "")
#{
# options(help_type = "text", pager = vim.pager)
#}
}
# library(grDevices)
# X11.options(type="nbcairo")
local({r <- getOption("repos"); r["CRAN"] <- "http://cran.fhcrc.org/"; options(repos = r)})
options(menu.graphics = F)
options(continue = "++ ")
# complete library names
utils::rc.settings(ipck = TRUE)
cd <- setwd
pwd <- getwd
h <- utils::head
man <- utils::help
l <- base::list
less <- function() options(pager = "less")
create <- function(...) devtools::create(..., rstudio = F)
updatevimcom <- function() devtools::install_github("jalvesaq/nvimcom")
myvimcom <- function(branch="master") devtools::install_bitbucket("mdlerch/nvimcom", branch)
updaterlerch <- function() devtools::install_github("mdlerch/rlerch")
# vim:ft=r