I would like to export/import RStudio global options, which can typically found and set in RStudio at Tools> Global Options...
Ideally I could run a line of code, saving the existing settings to a file. Then run another line of code to load those settings from this file.
These options include settings such as a Dark Theme for the GUI, or Tab Width etc.
This has a range of uses but my specific use case is that I spin up virtual environments to utilize cloud computing. Each time I shutdown and/or spin-up a new environment I need to apply these various settings anew (or work with the defaults).
After searching for a while all I have found is this unanswered user request. Despite the unanswered request, I feel like there is/should be an existing way to do this, even if imperfect.
Thanks in advance for any help/direction