Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Copy of Shiny: a web framework for R

No description
by

Jack Mccush

on 13 March 2013

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Copy of Shiny: a web framework for R

Shiny: a web framework for R Shiny Server What does it do? Allows Shiny applications to work with Internet Explorer Hosts multiple applications on the same port How do I run it? Download and install on a Linux machine https://github.com/rstudio/shiny-server RStudio Server RStudio via web interface Less risk: data and code can be stored in a secure place Several R users can share a powerful server Integrates with Git R on Amazon's EC2 "I wish I had loads of RAM" An Ubuntu instance with 117GB of RAM costs $4.60/hr Pre-process Consider materialized views when connecting to a database ... for a more responsive experience. Sample when plotting a lot of points Business Friendly User interface widgets create syntactically correct statements Bridges the gap between the analyst and the business user. http://woolfordcompany.com:3838/examples/diamonds/ http://r-analysis.info:443/ Authentication ... a prerequisite for most businesses Will be supported by commercial version later this year http://r-analysis.info/shiny/ Possible to configure Apache to do this instead. <VirtualHost *:80>
<Location />
AuthType Basic
AuthName analyst
AuthUserFile /etc/apache2/shinypw
Order allow,deny
Allow from all
Require valid-user
</Location>
ProxyPreserveHost On
ProxyRequests Off
ServerName r-analysis.info
ServerAlias www.r-analysis.info
ProxyPass /shiny/ http://127.0.0.1:3838/
ProxyPassReverse /shiny/ http://127.0.0.1:3838/
</VirtualHost> Edit the following file: /etc/apache2/sites-available/000-default Enable the proxy and proxy_http modules in Apache using a2enmod Create the username/password: htpasswd -cdb /etc/apache2/shinypw analyst R Restart Apache: sudo service apache2 restart Basic Authentication using Apache Shiny / RStudio Performance tweaks for larger datasets ... on a server Authentication Shiny Server RStudio Server Running on Amazon's EC2 Thanks users: analyst00 to analyst10 password: R scp -i aws_key.pem file_to_upload.txt ubuntu@serverIP: To copy data to the server: Try it:
Full transcript