Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Store rstudioapi prefs separately; enable access to IDE prefs #5262
Currently, the rstudioapi package has two preference-related methods,
This isn't ideal for a few reasons. The first is that it's useful to access the IDE's preferences from rstudioapi, especially now that they are formalized. The second is that the core preference system is not a great place to store arbitrary values from R code due to different semantics (overriding/defaults, possibility for corruption, etc).
This change does three things:
adamconroy left a comment
Looks good. I think this is a value that is unlikely to be changed often and hopefully something that will feel natural to play around with after a data viewer rework some time in the not too near future.