From a2b555cd76183c04f739591baf2cb1f41805e000 Mon Sep 17 00:00:00 2001 From: Tanushree Tunstall Date: Wed, 7 Sep 2022 19:44:25 +0100 Subject: [PATCH] not interactive --- drug-target/global.R | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drug-target/global.R b/drug-target/global.R index a294e03..ea2e572 100644 --- a/drug-target/global.R +++ b/drug-target/global.R @@ -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"