Rstudio on Linux

I installed Rstudio on RedHat Linux 7. But I'm not able to start the server, since its missing R binaries. Can someone please guide me on installing R binaries on Linux ?

this is the message I get when I verify installation
./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

Thanks!
K

There is some instruction on CRAN website to install R for redhat. See
https://cran.rstudio.com/bin/linux/redhat/README

You will also find some information on some RStudio doc to build R from source