Hi,
Is there a way to set the default chunk evaluation directory to be "project" for all rstudio server users? Also, similarly, is it possible to turn on all code diagnostics for everyone?
Hao
No, both of these are per-user preferences and don't have global defaults. You might consider voting/commenting on the issue we're using to track this:
opened 10:10PM - 13 Oct 17 UTC
closed 10:17PM - 22 Jul 19 UTC
enhancement
We've often had requests to store user preferences in a user-accessible location… , using a user-editable file format. The motivation is typically to make it possible to develop a set of personal settings which can be moved from machine to machine, stored on version control, etc.
We currently store most user preferences in a private file inside `~/.rstudio/monitored/user-settings` (or the platform equivalent), many of them in a JSON `uiPrefs` blob. Since RStudio's inception, several editing platforms (Sublime and Visual Studio Code) have exposed their preferences as user-editable JSON. We could do the same with a handful of changes:
1. Create a location for RStudio user preferences, probably following the [XDG configuration standard](https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html)
2. Separate the existing `user-settings` content into internal settings (including machine-specific settings such as `contextIdentifier`) and external settings.
3. Load and save external settings to the .json file instead of the `user-settings` file.
1 Like
Great, thanks @jonathan ! Just casted my vote and comment. Hopefully, this feature can be implemented soon!