Description Usage Arguments Functions See Also Examples
These functions are used to setup default
.Rprofile
/.Renviron
/.gitconfig
/.gitignore_global
/.rstudio-prefs.json
configurations. This settings are based on my preference and some files,
e.g. .gitconfig
contain info that will be specific to me personally. By
default, all functions will overwrite the existing files, though this can
be modified through the append
argument.
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 | setup_r_git(append = FALSE)
setup_Rprofile(
path = "~/.Rprofile",
template = "template_Rprofile",
append = FALSE
)
setup_Renviron(
path = "~/.Renviron",
template = "template_Renviron",
append = FALSE
)
setup_gitconfig(
path = "~/.gitconfig",
template = "template_gitconfig",
append = FALSE
)
setup_gitignore_global(
path = "~/.gitignore_global",
template = "template_gitignore_global",
append = FALSE
)
setup_rstudio_prefs(
path = "~/.config/rstudio/rstudio-prefs.json",
template = "template_rstudio-prefs",
append = FALSE
)
|
append |
|
path |
|
template |
|
setup_Rprofile
: Set up a default ~/.Rprofile
setup_Renviron
: Set up a default ~/.Renviron
setup_gitconfig
: Set up a default ~/.gitconfig
setup_gitignore_global
: Set up a default ~/.gitignore_global
setup_rstudio_prefs
: Set up a default ~/.config/rstudio/rstudio-prefs.json
https://docs.rstudio.com/ide/server-pro/session-user-settings.html# lists all available rstudio preferences.
1 2 3 4 5 6 7 8 | ## Not run:
setup_Rprofile()
setup_Renviron()
setup_gitconfig()
setup_gitignore_global()
setup_rstudio_prefs()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.