Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

writePreference

Write Preference


Description

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

Usage

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.


rstudioapi

Safely Access the RStudio API

v0.13
MIT + file LICENSE
Authors
Kevin Ushey [aut, cre], JJ Allaire [aut], Hadley Wickham [aut], Gary Ritchie [aut], RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.