Hi,
I have installed R Shiny using the instructions here ->
https://www.rstudio.com/products/shiny/download-server/
It is on CentOS7.
We have a custom R location using enviroment modules.
The Webserver comes up but nothing runs as it can find R in the standard locations.
I have tried altering the service file /etc/systemd/system/shiny-server.service as such ->
ExecStartPre=/usr/bin/bash -c 'source /etc/profile.d/modules.sh; source /etc/profile.d/z_hpc.sh; module load R/3.4.3; which R >> /var/log/shiny-server.log'
or
ExecStart=/usr/bin/bash -c 'source /etc/profile.d/modules.sh; source /etc/profile.d/z_hpc.sh; module load R/3.4.3; which R;/opt/shiny-server/bin/shiny-server --pidfile=/var/run/shiny-server.pid >> /var/log/shiny-server.log 2>&1'
And although the environment can see R before starting the server can still not see R.
Can I somehow direct R shiny to a non standard R install or do I need install from source ?
Thanks Roger