Table of Contents
Preface
Chapter 1: Installing R and Shiny and Getting Started!
Chapter 2: Building Your First Application
Chapter 3: Building Your Own Web Pages with Shiny
Chapter 4: Taking Control of Reactivity, Inputs, and Outputs
Chapter 5: Running and Sharing Your Creations
Index
Preface
Up
Chapter 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
Up
Chapter 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
Up
Chapter 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
Up
Chapter 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
Up
Chapter 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
Up
Index
· · · · · · (
收起)
0 有用 阿道克 2014-03-29 10:21:11
有实用性
0 有用 再会朗西🐝 2018-05-26 00:03:20
这种书难以规避的弊端就是,所讲的主题需要多种技能的组合,于是都要兼顾,最后只能泛泛而谈,其实还不如StackOverflow来得快。
0 有用 纳什均衡 2019-10-07 15:37:31
有些api比较老了,需要去翻shiny新的官方文档;另外我个人比较喜欢shinydashboard的二次封装,但这本书似乎没有提及。
0 有用 纳什均衡 2019-10-07 15:37:31
有些api比较老了,需要去翻shiny新的官方文档;另外我个人比较喜欢shinydashboard的二次封装,但这本书似乎没有提及。
0 有用 再会朗西🐝 2018-05-26 00:03:20
这种书难以规避的弊端就是,所讲的主题需要多种技能的组合,于是都要兼顾,最后只能泛泛而谈,其实还不如StackOverflow来得快。
0 有用 阿道克 2014-03-29 10:21:11
有实用性