Really simple. I am not new to R, but somewhat to RStudio. On my Windows machines, installation, no muss, no fuss. On my Linux bnoxes? Not so much. Here is one example of a common proglem -- install R 4.2.1 on my RHEL 8 machine. Is installed to
R: /usr/lib64/R /opt/R/4.2.1/bin/R
Fire up bash shell, start R - no problems at all.
Installed latest .rpm of RStudio. No errors. But, when I try to start RStudio, I get the following message, that I interpret as indicating that RStudio can't find R (which seems sort of silly):
Path to R not specified, and no module binary specified; invalid R module ()
Since the IDE doesn't start at all after this message, I can't change any option from there.
So, I tried
conda deactivate
RSTUDIO_WHICH_R=$(which R)
rstudio
This gets RStudio IDE to start, but - do I really need to run this code every time to get RStudio to start? Isn't there a simple way to get RStudio to 'find R'? Or, if I can get RStudio to start, is there some setting in the IDE I can tweak so that RStudio correctly finds R?
Thanks in advance...I'm sure this is an easy-to-solve issue.