Giter VIP home page Giter VIP logo

numeract / multinode-multicore-r-shiny Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 2.0 333 KB

Instructions to set up Multi-node multi-core R / Shiny

Home Page: https://github.com/numeract/multinode-multicore-r-shiny/blob/master/presentation/Multinode%20multicore%20R%20Shiny%202015-04-11%20DallasRUG.pdf

License: MIT License

R 100.00%
r shiny-server shiny aws aws-ec2 multicore multinode parallel-computing

multinode-multicore-r-shiny's Introduction

Multi-node Multi-core R / Shiny

This demo illustrates how to setup a Multi-node Multi-core R / Shiny server. It uses the parallel package in R to communicate with workers on other instances. A Shiny app is used to show how to integrate a parallel backend into Shiny.

Remarks

Shiny server needs a good network connection. A clogged WiFi (high lag, many dropped packages) will make Shiny unresponsive.

AWS AMI

For the Dallas RUG talk, I created two public AWS AMI’s:

  • ami-c693afae / R-RStudio-Shiny
  • ami-042e106c / R-RStudio-Shiny-DallasRUG_2015-04-11

If you intend to use them, please consider editing the authorized_keys files to remove the public keys which might allow unauthorized access.

I plan to update them soon after R 3.2.0 is being released.

Folder / File list

  • explore_makeCluster/ : step by step code examples to create connections with makeCluster
  • mandelbrot_app/ : Shiny app that calculates the area of the Mandelbrot set, uses foreach package
  • presentation/ : slides for the Dallas R Users Group presentation on April 11, 2015
  • Local Setup - Windows host.md : Windows Host / Virtual Box Ubuntu detailed setup

Instructions to set up Multi-node Multi-core R / Shiny

Local setup

For the local setup on Windows please see the file Local Setup - Windows host.md

Setups for OSX and Linux are not provided here (contributions welcome).

Amazon EC2 setup

See slides, detailed instructions to follow.

Change log

  • 2015-04-12 : updated slides, this readme
  • 2015-04-11 : slides and code, AWS AMIs (see slides)
  • 2015-04-08 : initial commit for the local setup

multinode-multicore-r-shiny's People

Contributors

mikebadescu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jamesmorse laurii

multinode-multicore-r-shiny's Issues

Error in utils::download.file(url, method = method, ...)

> shiny::runGitHub('multinode-multicore-r-shiny', subdir = 'mandelbrot_app')
Downloading https://github.com//multinode-multicore-r-shiny/archive/master.tar.gz
- Error in utils::download.file(url, method = method, ...) : 
-   cannot open URL 'https://github.com//multinode-multicore-r-shiny/archive/master.tar.gz'

I tried to run the shiny app but failed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.