I'm doing some recovery testing on a RHEL server and I did a fresh install of shiny-server from the published rpms.
Prior to installing shiny-server I installed R 3.0.2 from source into /usr/local/bin
I've started shiny-server via the init.d script:
service shiny-server start
Shiny server appears to be working, navigating to
<host-ip>:3838/
shows the appropriate index
However, when I launch one of my test applications I get:
An error has occurred
The application failed to start.
The application exited during initialization.
sh: R: command not found
When I launch shiny-server as root from the terminal everything works fine.
Similarly, when I launch as a regular user (e.g. shiny or any other user) it works, as long as I make the appropriate log directory writable via group permissions.
Is there something I'm missing here?