sudo apt-get install gdebi-core
wget http://download3.rstudio.org/ubuntu-12.04/x86_64/shiny-server-1.2.3.368-amd64.deb
sudo gdebi shiny-server-1.2.3.368-amd64.debsudo /usr/bin/shiny-server --pidfile=/var/run/shiny-server.pidsudo start shiny-server~ $ init-checkconf /etc/init/shiny-server.conf
ERROR: File /etc/init/shiny-server.conf: syntax invalid:
init:shiny-server.conf:2: Unknown stanzarun_as shiny;# Define a server that listens on port 3838
server {
listen 3838;
# Define a location at the base URL
location / {
# Host the directory of Shiny Apps stored in this directory
site_dir /srv/shiny-server;
# Log all Shiny output to files in this directory
log_dir /var/log/shiny-server;
# When a user visits the base URL rather than a particular application,
# an index of the applications available in this directory will be shown.
directory_index on;
}
}# shiny-server.conf
description "Shiny application server"
start on runlevel [2345] stop on runlevel [016]
limit nofile 1000000 1000000
post-stop exec sleep 5
exec shiny-server --pidfile=/var/run/shiny-server.pid >> /var/log/shiny-server.log 2>&1
respawn limit 3 25
respawn
sudo start shiny-serverTo view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/2712f3ef-367a-4d7b-bf89-79ba0fd90c27%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/6dc18cba-6e1d-49a7-ba0e-be079b59cb70%40googlegroups.com.
Xandria F. Webb | Elder Research, Inc. | xandri...@datamininglab.com | 855-973-7673 ext. 705
2101 Wilson Boulevard Suite 900 | Arlington, VA 22201 |www.elderresearch.com
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/CAJyn-zSq0ri1SWJ0-Pc5gL6TmLxyspYuJ%3DfhoKmSVGLxHmAhZg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/0a052116-8841-4f4f-8c77-0d4ef0cd5f35%40googlegroups.com.