launch the shiny server in the background from the linux console (Rscript launch_app.R &
),
and then when it says: listening on http://127.0.0.1:8787
, you can access it via:
(where 7815 is the port specified in the .R file)
launch the shiny server in the background from the linux console (Rscript launch_app.R &
),
and then when it says: listening on http://127.0.0.1:8787
, you can access it via:
(where 7815 is the port specified in the .R file)
if (!require(shiny)){ | |
install.packages("shiny", repos = "http://cran.rstudio.com") | |
require(shiny) | |
} | |
if (packageVersion("shiny")<"0.9.1"){ | |
install.packages("shiny", repos = "http://cran.rstudio.com") | |
require(shiny) | |
} | |
if (!require(pwr)){ | |
install.packages("pwr", repos = "http://cran.rstudio.com") | |
require(pwr) | |
} | |
if (!require(reshape2)){ | |
install.packages("reshape2", repos = "http://cran.rstudio.com") | |
require(reshape2) | |
} | |
if (!require(ggplot2)){ | |
install.packages("ggplot2", repos = "http://cran.rstudio.com") | |
require(ggplot2) | |
} | |
if (!require(markdown)){ | |
install.packages("markdown", repos = "http://cran.rstudio.com") | |
require(markdown) | |
} | |
runApp(".", launch.browser = FALSE, port = 7815) |