homebrew-base icon indicating copy to clipboard operation
homebrew-base copied to clipboard

rstudio-server

Open subhomoyghosh opened this issue 4 years ago • 4 comments

Hi,

The rstudio-server version 1.2 seems to be not compatible with new R versions! It says "R graphics engine version 14 is not supported by this version of RStudio". I can't go back and reinstall the old version of R via brew either. Is there any way the rstudio-server version can be updated?

Thanks so much, SG

subhomoyghosh avatar Nov 14 '21 00:11 subhomoyghosh

Just encountered this myself. Would love to see an updated version of RStudio. This formula is very helpful.

jbryer avatar Nov 16 '21 02:11 jbryer

I have found a temporary workaround. It appears that R version 4.0.5 works with the version of RStudio server in this formula. If you uninstall the version of R installed by Homebrew, it will use the version of R installed from the web. First, run this command:

brew uninstall --ignore-dependencies r

Then install R 4.0.5 from here: https://cran.r-project.org

As a bonus, install RSwitch to switch between multiple versions: https://rud.is/rswitch/

jbryer avatar Nov 16 '21 11:11 jbryer

Thanks for the solution! Graphics worked with R-4.0.5. Didn't know this way of uninstalling the r. I actually liked it more than the homebrew-based R since it provides more flexibility! It will still be quite useful to have the homebrew rstudio-server version updated though.

Previously, I was able to build rstudio-server from source files using apache-ant but the extra requirements (soci with postgres) of the newer Rstudio version have made it challenging.

Thanks for the RSwitch. Quite helpful!

subhomoyghosh avatar Nov 16 '21 17:11 subhomoyghosh

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Jan 08 '22 23:01 stale[bot]