GegznaV
February 6, 2021, 12:22pm
1
In RStudio 1.4, the preferences can be set in the rstudio-prefs.json
file.
What is the stack of directories, in which RStudio 1.4 (desktop) searches for this file? Could you list them in the order of priority? I saw the list some time ago but I lost the link. So the link to official documentation would also be appreciated.
Can I have a separate rstudio-prefs.json
file with separate preferences for each RStudio project?
1 Like
It is documented here:
https://docs.rstudio.com/ide/desktop-pro/settings.html#settings
It is not currently possible to have per-project preferences. Comment/upvote this issue:
opened 06:29PM - 15 Jun 20 UTC
enhancement
user preferences
Currently, only a small handful of RStudio preferences can be set on a project (… not global) level. These preferences are written inside the`.Rproj` file.
As part of the user preference overhaul in RStudio in https://github.com/rstudio/rstudio/pull/5069, we introduced all of the architecture required to support project-level control over any preference. However, this was not connected, because:
- we had no UI gesture that could be used to set a preference for a particular project instead of globally, and
- we had no storage for arbitrary project-level prefs (except the aforementioned .Rproj)
Both of these are still a problem; this issue tracks the work needed to make any preference settable at the project level. This would resolve a long tail of requests for project-specific settings; for example:
https://github.com/rstudio/rstudio/issues/7130 - Spellcheck language
https://github.com/rstudio/rstudio/issues/4335 - Margin column
https://github.com/rstudio/rstudio/issues/2350 - Theme
https://github.com/rstudio/rstudio/issues/9409 - Pipe operator
etc., etc.
system
Closed
March 3, 2021, 5:34am
3
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.