I tried installing RStudio Server according to the docs. I got this error:
balter@spectre:~$ sudo rstudio-server verify-installation
Unable to find an installation of R on the system (which R didn't return valid output); Unable to locate R binary by scanning standard locations
balter@spectre:~$ which R
/home/balter/conda/bin/R
balter@spectre:~$ Rscript -e 'print("hello")'
[1] "hello"