I am using the Open Source Rstudio (2024.09.0 Build 375) on Ubuntu 24.04.1 LTS and hitting a very irritating issue. I keep all my work documents and data on a separate drive but Tools > Global Options > General
only offers me a non-editable text box showing "~" and "browse" but browse won't allow me to move outside the ~ home directory. Surely there must be a way to set a default directory on a different drive?! TIA, Chris
You can either navigate outside the default directory tree on a case by case basis or set a default working directory elsewhere, but it takes a wee bit of doing. I documented the steps here.
Perfect with both answers: the temporary and the permanent. I have gone for the permanent as I really don't ever way to put R things below ~
. I can vouch that editing rstudio-prefs.json
works fine and yes, thanks for saying and I can also confirm that in my Ubuntu 24.04 it is below ~/.config/rstudio
(you never know as things ramble around the file space these days!) Going a bit lateral, I loved your page and informs.org/probonoanalytics/. Your your emeritus work seems to have similarities to mine and your "mix of operations research items and software tricks that I'll probably forget if I don't write them down somewhere" definitely has similarities to my "Rblog" which might amuse you and perhaps others here (and might, I hope, be useful to people too!) Thanks, Chris
Thanks for the blog link. Does your blog have an RSS feed? (I couldn't find one.) Also, if you're satisfied with my answer, you might check the accept icon so that others know the question is answered. Last, as you appear to be in the UK, if you are interested in Pro Bono Analytics then you might be interested in the UK Operational Research Society's Pro Bono OR program (sorry, "programme"). The "operational research" bit notwithstanding, I'm pretty sure some of their work is what most would call "analytics".