Skip to Main Content
R Projects For Dummies
book

R Projects For Dummies

by Joseph Schmuller
February 2018
Beginner content levelBeginner
360 pages
7h 4m
English
For Dummies
Content preview from R Projects For Dummies

Chapter 4

Working with a Browser

IN THIS CHAPTER

check Introducing shiny

check Looking at a simple shiny project

check Developing your project

check Coming up with a more complex project

As I emphasize in Chapter 3, R is rich with opportunities for visualizing data. In this chapter, I show how to create R applications whose visualizations depend on user input. I also show how to present these applications in a browser so that web users can interact with them. Putting an R application in a browser is a great way to share data and analyses. And you don’t have to know HTML or JavaScript to get the job done!

Getting Your Shine On

A creation of RStudio honchos, shiny is the package that enables interactive, browser-based R applications. Use RStudio to install it in the usual way. On the Packages tab, click Install and then type shiny into the Install Packages dialog box. After the package finishes downloading, click the check box next to shiny on the Packages tab, or type

> library(shiny)

A couple of words about architecture before I move on and show how to create your first shiny project. Behind any web ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

R Data Analysis Projects

R Data Analysis Projects

Mark Hodnett, Gopi Subramanian

Publisher Resources

ISBN: 9781119446187Purchase book