r-lib / rig

The R Installation Manager
MIT License
668 stars 22 forks source link

Feature request: Install RStudio #174

Open sda030 opened 1 year ago

sda030 commented 1 year ago

Hi, I understand that rig is intended mostly for version controlling of R. However, as an R "pusher" and teacher in my organization, it would have been very neat to have an almost one-click/line setup - intended for less tech-savy colleagues coming from the "everything pre-installed by the IT department" world of SPSS/Stata - for setting up (and reinstalling if needed) the usual chain:

I have tried some .bat/.ps1 solution for RStudio (and the other stuff) but local security policies tend to block it. Besides, RStudio version and download URLs are a bit tricky/variable over time (http://download1.rstudio.org/current.ver).

gaborcsardi commented 1 year ago

I can see some advantages, although on modern Windows installing all the tools is already not too bad:

winget install rstudio
winget install RProject.R
winget install Rtools

Or, if you want multiple R versions with rig, then:

winget install rstudio
winget install Posit.rig
rig add release
rig add devel 
...
rig add rtools

OTOH rig add rstudio could work on all platforms, and it could also install daily builds, etc.

sda030 commented 1 year ago

Ah, that seems indeed like a sufficient solution for my colleagues. Thanks!