Can I host a brilliant application on a Windows computer?

I registered for beta hosting. I tried to follow the instructions for creating the shinyapps / myapp folder on my widnows machine. I can run brilliant applications locally. I installed the required node.js program, but can I get the configuration file? I think python is required for my error message? Is there an easier way to host a brilliant application on a Windows machine? Thanks

+8
r shiny
source share
3 answers

Using

https://github.com/leondutoit/shiny-server-on-ubuntu

Deployment is quite simple. Sorry, the author is not very responsive.

+1
source share

a little late answer: you can host a brilliant application on Windows .

use the following run.R script below, run it as a job on a windows machine. Verify that the port (below 1234) is open in the local firewall.

Enjoy it!

require(shiny) folder_address = 'H:/path to app' x <- system("ipconfig", intern=TRUE) z <- x[grep("IPv4", x)] ip <- gsub(".*? ([[:digit:]])", "\\1", z) print(paste0("the Shiny Web application runs on: http://", ip, ":1234/")) runApp(folder_address, launch.browser=FALSE, port = 1234, host = ip) 
+8
source share

From the brilliant website :

You will need a Linux server with the following prerequisites installed:

Node.js 0.8.16 or later For Ubuntu, we found these instructions to work well. For Red Hat / CentOS, we recommend installing from a source. R 2.15 or later Shiny R installed on the machine library website. This is one easy way to do this: sudo su - -c "R -e \" install.packages ('shiny', repos = ' http://cran.rstudio.com/ ') \ ""

You cannot start Shiny applications on a Windows machine right now. Running a Linux virtual machine can be a good alternative.

+4
source share

All Articles