Setting RSTUDIO_WHICH_R fails to find libR.so

I am using RSTUDIO_WHICH_R to specify my R executable (which happens to be in a conda environment) but RStudio fails to run it, saying it can't find libR.so

Running that same executable directly works fine.

Old versions of RStudio (1.4.x) work fine.

The latest version of RStudio fails. I can't even set LD_LIBRARY_PATH to say where libR.so is, because RStudio now seems to throw away that variable.

If you’re on Ventura, there are related problems, and conda seems more difficult in general to get right. I. Going to try a dev version next for my Ventura.

This is a regression introduced in RStudio 2022.12.0+353 (Elsbeth Geranium).
The previous version 2022.07.2.576 works fine.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.