[R] Follow-up: RStudio: Place for Storing Options (as plain text)
G.Maubach at weinwolf.de
G.Maubach at weinwolf.de
Wed Mar 8 08:59:09 CET 2017
I got a late reply from RStudio Support concerning the question where
RStudio store options and configurations:
-- cut --
The post RStudio Config Files has a new comment.
. . .
Unfortunately, it's unlikely that we'll be able to provide a programmatic
R interface in the near future -- the way we lay out and store RStudio's
client state does not make it as amenable to public consumption as we
That said, you can generally copy everything within that folder to a new
machine (at the same relative path from the user home directory), and
expect preferences to be respected + restored as you might expect.
. . .
The result of the discussion is:
We can copy the complete RStudio directory for storing options and
and copy it completely to a new installation of RStudio.
A programmatic approach to edit RStudio options and configurations is not
possible due to design decisions.
The purpose of the initial question was to find a way to save RStudio
options and configurations, e g. on git/github or similar. This is
possible by initialising the above given directory with git or similar.
An open question is what happens if a new RStudio release makes changes to
the options and configurations. If the stored directory can be completely
used would need additional clearification, i.e. for each new version.
Von: Martin Maechler <maechler at stat.math.ethz.ch>
Kopie: <G.Maubach at weinwolf.de>,
Datum: 23.02.2017 08:37
Betreff: Re: [R] RStudio: Place for Storing Options
>>>>> Jeff Newmiller <jdnewmil at dcn.davis.ca.us>
>>>>> on Sat, 11 Feb 2017 08:09:36 -0800 writes:
> For the record, then, Google listened to my incantation of
> "rstudio configuration file" and the second result was:
> RStudio Desktop is also open source, so you can download
> the source code and look at the operating-system-specific
> bits (for "where") if the above link goes out of date or
Thanks a lot, Jeff!
And for the archives: On reasonable OS's, the hidden
directory/folder containing all the info is
and if "things are broken" the recommendation is to rename that
mv ~/.rstudio-desktop ~/backup-rstudio-desktop
and (zip and) send along with your e-mail to the experts for diagnosis.
> On Thu, 9 Feb 2017, Martin Maechler wrote:
>>>>>>> Ulrik Stervbo <ulrik.stervbo at gmail.com> on Thu, 9
>>>>>>> Feb 2017 14:37:57 +0000 writes:
>> > Hi Georg, > maybe someone here knows, but I think you
>> are more likely to get answers to > Rstudio related
>> questions with RStudio support: >
>> > Best, > Ulrik
>> Indeed, thank you, Ulrik.
>> In this special case, however, I'm quite sure many
>> readers of R-help would be interested in the answer; so
>> once you receive an answer, please post it (or a link to
>> a public URL with it) here on R-help, thank you in
>> We would like to be able to *save*, or sometimes *set* /
>> *reset* such options "in a scripted manner", e.g. for
>> controlled exam sessions.
>> Martin Maechler, ETH Zurich
>> > On Thu, 9 Feb 2017 at 12:35 <G.Maubach at weinwolf.de>
>> >> Hi All, >> I would like to make a backup of my RStudio
>> IDE options I configure using >> "Tools/Global Options"
>> from the menu bar. Searching the >> web did not reveal
>> >> Can you tell me where RStudio IDE does store its
>> >> Kind regards >> Georg
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and
>> more, see https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html and provide
>> commented, minimal, self-contained, reproducible code.
> Jeff Newmiller The ..... ..... Go Live...
> DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live
> Go... Live: OO#.. Dead: OO#.. Playing Research Engineer
> (Solar/Batteries O.O#. #.O#. with /Software/Embedded
> Controllers) .OO#. .OO#. rocks...1k
More information about the R-help