Rstudio server issue in Linux

Hello, I am new in Rstudio-server. I tried to install the rstudio-server on Red Hat 8 (on aws) by following the link: RStudio Server - Posit based on Step 1-Step3.

The R and rstudio-server are installed successfully and the symbolic links for R Path are also created. However, when I tried to start the rstudio-server by typing "sudo rstudio-server start", the server is not running.

I checked the log file "sudo vim /var/log/rstudio/rstudio-server/rserver.log", it shows an error message "[rserver] ERROR Path to R not specified, and no module binary specified; Invalid R module (); LOGGED FROM: int main(int, char* const*) src/cpp/server/ServerMain.cpp:837". I typed"which R" and it shows that R directory is under "/usr/local/bin/R". If type "sudo which R", it can also show the R PATH "/usr/bin/R". So why it still gives the error message "Path to R is not specified". Is there any way that I can address this issue?

Thank you in advance!!
xj

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.