-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.Rprofile
33 lines (21 loc) · 1.02 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
# REMEMBER to restart R after you modify and save this file!
# First, execute the global .Rprofile if it exists. You may configure blogdown
# options there, too, so they apply to any blogdown projects. Feel free to
# ignore this part if it sounds too complicated to you.
if (file.exists("~/.Rprofile")) {
base::sys.source("~/.Rprofile", envir = environment())
}
#Removed from Options:
# build .Rmd to .html (via Pandoc); to build to Markdown, set this option to 'markdown'
#blogdown.method = 'html'
# to disable knitting Rmd files on save, set this option to FALSE
#blogdown.knit.on_save = TRUE,
# to automatically serve the site on RStudio startup, set this option to TRUE
#blogdown.serve_site.startup = FALSE,
# fix Hugo version
options(blogdown.hugo.version = "0.85.0")
#General default settings
# https://developer.r-project.org/Blog/public/2020/02/16/stringsasfactors/
options(stringsAsFactors = FALSE)
options(scipen=999) #preventing exponents in output
options(dplyr.width = Inf) #to show all variable columns in head()