readPreference | R Documentation |
Reads a user preference, useful to remember preferences across different R sessions for the same user.
readPreference(name, default)
name |
The name of the preference. |
default |
The default value to use when the preference is not available. |
User preferences can have arbitrary names and values. You must write the
preference with writePreference
before it can be read
(otherwise its default value will be returned).
The readPreference
function was added in version 1.1.67 of
RStudio.
readRStudioPreference
, which reads RStudio IDE
preferences.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.