-
Notifications
You must be signed in to change notification settings - Fork 5
/
.Rprofile
23 lines (21 loc) · 906 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
# run the global .Rprofile if it exists (you may configure blogdown options
# there, too, so they apply to any blogdown projects)
if (file.exists("~/.Rprofile")) {
base::sys.source("~/.Rprofile", envir = environment())
}
# a few sample options to customize the behavior of blogdown; for more options,
# see https://bookdown.org/yihui/blogdown/global-options.html
options(
# to automatically serve the site on RStudio startup, set this option to TRUE
blogdown.serve_site.startup = FALSE,
# to disable knitting Rmd files on save, set this option to FALSE
blogdown.knit.on_save = FALSE,
# full markdown mode
blogdown.method = "markdown",
# don't serve on knit
blogdown.knit.serve_site = FALSE,
# so the live preview actually live previews
blogdown.hugo.server = c('--disableFastRender', '-D', '-F', '--navigateToChanged')
)
# pin Hugo version
options(blogdown.hugo.version = "0.79.0")