R/rstudio-prefs.R
restore_rstudio_prefs.Rd
DSP R Users are storing their Rstudio preferences in the repo at:
https://projectsc.popdata.bc.ca/shares/using-sre-gitlab, in a named user
folder under rstudio-prefs
(See the
generic
folder for a minimal recommended starting point, or the
andy
folder for a more comprehensive example). Your local RStudio preferences are
located in C:/Users/[your-user-name]/AppData/Roaming/Rstudio. When you have
an instance of Rstudio set up to your liking, copy these to your named folder
in the repo of your choice, then use this function to restore those
preferences to a new SRE machine.
restore_rstudio_prefs(folder, repo = "using-sre-gitlab")
The folder in which your preferences are stored in the repo.
For a minimal recommended setup, use "rstudio-prefs/generic"
as a starting point.
The name of the GitLab repo in which you have stored your
preferences. Default "using-sre-gitlab"
a character vector of file paths of the files that were copied to your machine (invisibly).
if (FALSE) {
restore_rstudio_prefs(folder = "rstudio-prefs/andy")
}