writeRStudioPreference | R Documentation |
Writes an internal RStudio IDE preference for the current user.
writeRStudioPreference(name, value)
name |
The name of the preference. |
value |
The value of the preference. |
RStudio IDE internal preferences include the values displayed in RStudio's Global Options dialog as well as a number of additional settings. Set them carefully; inappropriate values can cause unexpected behavior. See the RStudio Server Professional Administration Guide appendix for your version of RStudio for a full list of preference names and values.
The writeRStudioPreference
function was added in version
1.3.387 of RStudio.
writePreference
, which can be used to store arbitrary
user (non-RStudio) preferences.
readRStudioPreference
, which reads internal RStudio IDE
preferences.
## Not run:
# Hide RStudio's toolbar.
rstudioapi::writeRStudioPreference("toolbar_visible", FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.