Writes a user preference, useful to remember preferences across different R sessions for the same user.

writePreference(name, value)

Arguments

name

The name of the preference.

value

The value of the preference.

Note

The writePreference function was added in version 1.1.67 of RStudio.

See also

writeRStudioPreference, which changes RStudio IDE preferences.