not interactive

This commit is contained in:
Tanushree Tunstall 2022-09-07 19:44:25 +01:00
parent b1c65863c6
commit a2b555cd76

View file

@ -20,8 +20,8 @@ library(hash)
# system.time({
load_dir="~/git/"
#load_dir="/srv/shiny-server/git/"
#load_dir="~/git/"
load_dir="/srv/shiny-server/git/"
source(paste0(load_dir, "LSHTM_analysis/scripts/Header_TT.R"))
@ -305,8 +305,8 @@ consurf_colours = c(
, "9" = rgb(0.63,0.16,0.37)
)
if (true()){
#if (interactive()){
# if (true()){
if (interactive()){
options(shiny.launch.browser = FALSE) # i am a big girl and can tie my own laces
options(shiny.port = 8000) # don't change the port every time
options(shiny.host = '0.0.0.0') # This means "listen to all addresses on all interfaces"