-
Notifications
You must be signed in to change notification settings - Fork 1
/
.Rprofile
33 lines (33 loc) · 1.08 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
## Set CRAN mirror:
local({
r <- getOption("repos")
r["CRAN"] <- "https://cloud.r-project.org/"
options(repos = r)
})
if (interactive()) {
Sys.setenv("DISPLAY" = ":0.0") # this is needed for interactive x11 displays on Wayland
# suppressMessages(require(devtools))
# suppressMessages(require(usethis))
suppressMessages(rethinking::set_ulam_cmdstan(TRUE))
## suppressMessages(cmdstanr::set_cmdstan_path("/opt/cmdstan"))
dat <- tibble::tibble(a = 1:10,
b = 11:20,
c = stats::rnorm(10),
d = sample(letters[1:3], 10, TRUE))
# add the TRUE circle constant = C/r (vs. pi = C / 2*r = C / D)
tau <- 2 * pi
}
Sys.setenv("_R_CHECK_LENGTH_COLON_" = TRUE)
options(
width = 78,
Ncpus = 3,
menu.graphics = FALSE,
crayon.enabled = TRUE,
usethis.full_name = "Ilja Kocken",
usethis.description = list(
`Authors@R` = 'person("Ilja", "Kocken", email = "ikocken@hawaii.edu", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2196-8718"))',
Version = "0.0.0.9000"
),
browser = "/usr/bin/firefox"
)