Home Page Icon
Home Page
Table of Contents for
Table of Contents
Close
Table of Contents
by Chris Beeley
Web Application Development with R Using Shiny
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Cover
Next
Next Chapter
Web Application Development with R Using Shiny
Table of Contents
Web Application Development with R Using Shiny
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Installing R and Shiny and Getting Started!
Installing R
The R console
Code editors and IDEs
Simple and well-featured
Complex and extensible
Learning R
Getting help
Loading data
Dataframes, lists, arrays, and matrices
Variable types
Functions
Objects
Base graphics and ggplot2
Bar chart
Line chart
Installing Shiny and running the examples
Summary
2. Building Your First Application
Program structure
ui.R of minimal example
server.R of minimal example
Optional exercise
Widget types
Google Analytics application
The UI
Data processing
Reactive objects
Outputs
A note on the application code
Optional exercise
Summary
3. Building Your Own Web Pages with Shiny
Running the applications and code
Shiny and HTML
Custom HTML links in Shiny
ui.R
server.R
server.R – data preparation
server.R – server definition
Minimal HTML interface
index.html
server.R
JavaScript and Shiny
ui.R
server.R
jQuery
index.html – body
server.R
jQuery
Exercise
Summary
4. Taking Control of Reactivity, Inputs, and Outputs
Showing and hiding elements of the UI
Giving names to tabPanel elements
Reactive user interfaces
Reactive user interface example – server.R
Reactive user interface example – ui.R
Advanced reactivity
Using reactive objects and functions efficiently
Controlling the whole interface with the submitButton() function
Controlling specific inputs with the isolate() function
Running reactive functions over time
More advanced topics in Shiny
Finely controlling inputs and outputs
Reading client information and GET requests in Shiny
Custom interfaces from GET strings
Animation
Advanced graphics options
Downloading graphics
Downloading and uploading data
Summary
5. Running and Sharing Your Creations
Sharing with the R community
Sharing over GitHub
Introduction to Git
Sharing applications using Git
Sharing using .zip and .tar
Sharing with the world
Glimmer
Shiny Server
Browser compatibility
Summary
Index
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset