Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Learning Shiny

You're reading from   Learning Shiny Make the most of R's dynamic capabilities and implement web applications with Shiny

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781785280900
Length 246 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Hernan Resnizky Hernan Resnizky
Author Profile Icon Hernan Resnizky
Hernan Resnizky
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Learning Shiny
Credits
About the Author
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
1. Introducing R, RStudio, and Shiny FREE CHAPTER 2. First Steps towards Programming in R 3. An Introduction to Data Processing in R 4. Shiny Structure – Reactivity Concepts 5. Shiny in Depth – A Deep Dive into Shiny's World 6. Using R's Visualization Alternatives in Shiny 7. Advanced Functions in Shiny 8. Shiny and HTML/JavaScript 9. Interactive Graphics in Shiny 10. Sharing Applications 11. From White Paper to a Full Application Index

Index

A

  • advanced functions, Shiny
    • validate() / The validate() function
    • isolate() / The isolate() function
    • observe() / The observe() function
    • reactiveValues() / The reactiveValues() function
    • input updates / Input updates
  • aggregate() function
    • with vectors / Basic summary functions
    • through formula objects / Basic summary functions
    / Barplot
  • application
    • reactive independent processes / Reactive independent processes within an application
    • insights, discovering in / Discovering insights in the application
  • apply function
    • about / The lapply, vapply, sapply, and apply functions
    • examples / Examples
  • arrays
    • about / Matrices and arrays
    • elements, selecting from / Selecting elements from arrays
  • atomic classes, R
    • about / Classes in depth
    • character / Classes in depth
    • numeric / Classes in depth
    • integer / Classes in depth
    • complex / Classes in depth
    • logical / Classes in depth
    • raw / Classes in depth
    • vector / Vectors
    • lists / Lists
    • matrices / Matrices and arrays
    • array / Matrices and arrays
    • data frames / Data frames
    • factors / Factors

B

  • barplot / Barplot
  • bootstrapPage()
    • URL / The structure
  • boxplot / Boxplots
  • brushOpts() function / Interaction possibilities within R graphics
  • built-in functions, dates
    • built-in functions / Dates
    • dateRangeInput() / Dates
  • buttons
    • actionButton() / Buttons
    • submitButton() / Buttons
    • submitButton(), using with conditionalPanel() / submitButton() with conditionalPanel()
    • downloadButton() / downloadButton() - an example
    • useful functions, building / Optimal usage of server.R and global.R

C

  • c() function / Vectors
  • candlesticks / Candlesticks
  • Cascading Style Sheet (CSS) / CSS
  • characteristics, R
    • object oriented / About R
    • contribution / About R
    • runtime execution / About R
    • extensibility / About R
  • character set
    • reading / Reading a character set
  • clickOpts() function / Interaction possibilities within R graphics
  • Comprehensive R Archive Network (CRAN) / About R
  • conceptual design
    • about / Conceptual design
  • control structures, R
    • about / Control structures in R
    • if...else block / The if...else block
    • while loop / The while loop
    • for loop / The for loop
    • switch statement / The switch statement
  • CRAN
    • URLs / An introduction to htmlwidgets

D

  • D3
    • about / What is D3?
  • D3.js integration
    • about / D3.js integration, What is D3?
    • networkD3 / networkD3
    • htmlwidgets / An introduction to htmlwidgets
  • D3BarChart.yaml
    • URL, for download / D3BarChart.yaml
  • data
    • reading / Reading data
    • delimited data / Delimited data
    • reading, line by line / Reading line by line
    • character set, reading / Reading a character set
    • JSON, reading / Reading JSON
    • XML, reading / Reading XML
    • SQL databases, reading / Reading databases – SQL
    • reading, from external sources / Reading data from external sources
    • outside reactive context, loading / Example 3 – Loading data outside reactive context
  • Data-Driven Documents / What is D3?
  • data.table package / The data.table package
  • data frames
    • about / Data frames
    • URL / Data frames
    • elements, selecting from / Selecting elements from data frames
  • dblClickOpts(). function / Interaction possibilities within R graphics
  • delimited formats, R
    • header / Delimited data
    • nrows / Delimited data
    • skip / Delimited data
    • encoding / Delimited data
    • URL / Delimited data
  • dog class / Object-oriented programming concepts
  • downloadHandler() function / downloadButton() - an example

E

  • elements
    • selecting / Element selection
    • selecting, from vectors / Selecting elements from vectors
    • selecting, from arrays / Selecting elements from arrays
    • selecting, from lists / Selecting elements from lists
    • selecting, from data frames / Selecting elements from data frames
    • sorting / Sorting elements
  • elements, selecting from vectors
    • by index / Selecting elements from vectors
    • by name / Selecting elements from vectors
    • by logical vector / Selecting elements from vectors
  • events, R graphics
    • hover / Interaction possibilities within R graphics
    • click / Interaction possibilities within R graphics
    • double click / Interaction possibilities within R graphics
    • brush / Interaction possibilities within R graphics
  • examples
    • overview / An overview of simple examples
    • render-like functions / Example 1 – a general example of how render-like functions work
    • reactive objects, using / Example 2 – using reactive objects
    • data outside reactive context, loading / Example 3 – Loading data outside reactive context
    • global.R, using / Example 4 – using global.R
  • Extended Markup Language (XML)
    • reading / Reading XML

F

  • factors
    • about / Factors
  • for loop / The for loop
  • free inputs
    • about / Free inputs
    • numericInput() / Free inputs
    • textInput() / Free inputs
    • sliderInput() / Free inputs
  • fully customized plot
    • plotting, with graphics / Plotting a fully customized plot with the graphics package

G

  • geolocalized visualizations / Geolocalized visualizations
  • ggplot
    • aesthetics / ggplot's main logic – layers and aesthetics, Aesthetics
    • layers / Layers
    • applied example, with multiple layers / An applied example with multiple layers
    • integrating, with Shiny / ggplot and Shiny
  • ggplot2
    • about / ggplot2 – first steps
    • graphical tools / Some graphical tools in ggplot2
  • global.R / An introduction to global.R, global.R
    • using / Example 4 – using global.R
    • optimal usage / Optimal usage of server.R and global.R
    • optimal usage, tips / Optimal usage of server.R and global.R
  • global.R coding
    • about / global.R coding
  • googleVis function / Candlesticks
  • googleVis package
    • about / A walk around the googleVis package
    • using, in R / googleVis in R
    • options parameter / googleVis in R
    • URL / googleVis in R, An overview of some functions
    • functions / An overview of some functions
    • candlesticks / Candlesticks
    • geolocalized visualizations / Geolocalized visualizations
    • treemaps / Treemaps
    • motion chart / Motion chart
    • using, in Shiny / googleVis in Shiny
    • example / A small example of googleVis in Shiny
  • graphical tools, ggplot2
    • about / Some graphical tools in ggplot2
    • geom_point() / geom_point
    • geom_line() / geom_line
    • geom_bars() / geom_bars
  • graphics
    • about / The graphics package
    • barplot() / Barplot
    • histograms / Histograms
    • boxplots / Boxplots
    • pie charts / Pie charts
    • points() function / Points
    • lines() function / Lines
    • used, for plotting fully customized plot / Plotting a fully customized plot with the graphics package
  • gregexpr() function / grep and regular expressions
  • grep() function / grep and regular expressions
  • grepl() function / grep and regular expressions
  • gsub() function / grep and regular expressions
  • gvisTreemap() function / Treemaps

H

  • hist() function / Histograms
  • histogram / Histograms
  • hoverOpts() function / Interaction possibilities within R graphics
  • HTML/JavaScript
    • and server, relating / Relating HTML/JavaScript and server.R
  • htmlwidgets
    • about / An introduction to htmlwidgets
    • URL / An introduction to htmlwidgets
    • D3BarChart.R / D3BarChart.R
    • D3BarChart.js / D3BarChart.js
    • D3BarChart.yaml / D3BarChart.yaml

I

  • if...else block / The if...else block
  • includeCSS() function / CSS
  • input$(listener_id) form
    • URL / Interaction possibilities within R graphics
  • inputs, UI.R
    • about / Inputs
    • built-in Shiny widgets / Inputs
    • free inputs / Free inputs
    • lists / Lists
    • dates, selecting / Dates
    • files / Files
    • buttons / Buttons
  • input updates
    • about / Input updates
  • insights
    • discovering, in application / Discovering insights in the application
  • installing
    • R / Installing R
    • RStudio / Installing RStudio
    • Shiny / Installing and loading Shiny
  • Integrated Development Environment (IDE) / A quick guide to R
  • isolate() function / The isolate() function

J

  • JavaScript / JavaScript
  • JavaScript Object Notation (JSON)
    • reading / Reading JSON
  • JavaScript Object Notation (JSON) / What is D3?

L

  • lapply function
    • about / The lapply, vapply, sapply, and apply functions
    • examples / Examples
  • legends
    • about / Legends
  • library() function / D3BarChart.R
  • lines() function / Lines
  • lists
    • about / Lists, Lists
    • elements, selecting from / Selecting elements from lists
    • selectInput() / Lists
    • checkboxGroupInput() / Lists
    • checkboxInput() / Lists
    • radioButtons() / Lists

M

  • matrices
    • about / Matrices and arrays
  • melt() function / reshape2
  • motion chart
    • about / Motion chart
    • URL / Motion chart

N

  • names() function / Lists
  • navbarPage()
    • URL / The structure
  • networkD3 / networkD3
  • newline / Dot
  • Notepad++
    • URL / Creating UIs from plain HTML

O

  • observe() function / The observe() function
  • OOP
    • about / Object-oriented programming concepts
  • order() function
    • about / Sorting elements

P

  • page builders
    • fluidPage() / The structure
    • fixedPage() / The structure
    • bootstrapPage() / The structure
    • navbarPage() / The structure
    • sidebarLayout() / The structure
    • fluidRow() / The structure
    • fixedRow() / The structure
    • inputPanel() / The structure
    • tabsetPanel() / The structure
    • absolutePanel() / The structure
    • conditionalPanel() / The structure
    • tabPanel() / The structure
    • sidebarPanel() / The structure
    • navlistPanel() / The structure
    • wellPanel() / The structure
  • pie() function / Pie charts
  • pie charts / Pie charts
  • plain HTML
    • UIs, creating / Creating UIs from plain HTML
  • plotting options
    • about / Plotting options
    • col / Plotting options
    • pch / Plotting options
    • pch, URL / Plotting options
    • main / Plotting options
    • xlab / Plotting options
    • ylab / Plotting options
    • xlim / Plotting options
    • ylim / Plotting options
    • cex / Plotting options
  • plyr
    • about / plyr
    • URL / plyr
  • points() function / Points
  • pre-application processing
    • about / Pre-application processing
    • Workclass / Workclass
  • problem presentation
    • about / Problem presentation

Q

  • QlikView Dashboard Design
    • number validation / Shiny options
  • quantifiers
    • about / Quantifiers
    • special quantifiers / Special quantifiers

R

  • R
    • about / About R
    • URL / Installing R
    • installing / Installing R
    • installation on UNIX-based operating systems, URL / Installing R
    • guide / A quick guide to R
    • variables / Variables in R
    • atomic classes / Classes in depth
    • control structures / Control structures in R
    • googleVis package / googleVis in R
  • reactive objects
    • using / Example 2 – using reactive objects
  • reactiveValues() function / The reactiveValues() function
  • reactivity
    • about / The concept of reactivity
  • readChar() function / Reading a character set
  • readLines() function / Reading line by line
  • regmatches() function / Example 2
  • regular expressions
    • about / grep and regular expressions, A brief introduction to regular expressions
    • sets / Sets
    • non-printable characters / Non-printable characters
    • negation / Negation
    • alternation / Alternation
    • quantifiers / Quantifiers
    • anchors / Anchors
    • expressions / Expressions
    • escapes / Escapes
    • examples / Examples, Example 2
    • URL / Example 2
  • render-like functions
    • working, example / Example 1 – a general example of how render-like functions work
  • renderGvis() function / googleVis in Shiny
  • reshape2 package / reshape2
  • R graphics
    • interaction possibilities / Interaction possibilities within R graphics
  • R help
    • URL / Plotting options
  • RJDBC
    • URL / Reading databases – SQL
  • RODBC
    • URL / Reading databases – SQL
  • roxygen
    • URL / D3BarChart.R
  • RStudio
    • about / About RStudio
    • installing / Installing RStudio
    • guide / A quick guide to RStudio
    • text editor / A quick guide to RStudio
    • environment and history / A quick guide to RStudio
    • environments, URL / A quick guide to RStudio
    • console / A quick guide to RStudio
    • tabs / A quick guide to RStudio
    • keyboard shortcuts / A quick guide to RStudio
    • shortcuts, URL / A quick guide to RStudio
    • URL / A quick guide to RStudio
  • runGist() function / runGist/runGitHub/runUrl
  • runGitHub () function / runGist/runGitHub/runUrl
  • runUrl function / runGist/runGitHub/runUrl

S

  • sapply function
    • about / The lapply, vapply, sapply, and apply functions
    • examples / Examples
  • sendCustomMessage() function / Relating HTML/JavaScript and server.R
  • server
    • and HTML/JavaScript, relating / Relating HTML/JavaScript and server.R
  • server.R
    • about / An introduction to server.R and UI.R
    • optimal usage / Optimal usage of server.R and global.R
    • optimal usage, tips / Optimal usage of server.R and global.R
  • server.R coding
    • about / server.R coding
    • gender bar chart / Gender bar chart
    • age chart / Age chart
    • ethnic bar chart / Ethnic bar chart
    • martial status / Marital status
    • education curve / Education curve
    • earnings chi-square test / Earnings chi-square test
    • activity summary / Activity summary
  • sets
    • about / Sets
    • shortcuts / Shortcuts
    • shortcuts, URL / Shortcuts
    • dot / Dot
  • Shiny
    • about / About Shiny, Shiny as a package
    • advantages / About Shiny
    • installing / Installing and loading Shiny
    • loading / Installing and loading Shiny
    • as package / Shiny as a package
    • examples / An overview of simple examples
    • options / Shiny options
    • googleVis package / googleVis in Shiny
    • integrating, with ggplot / ggplot and Shiny
    • documentation, URL / Input updates
  • Shiny.addCustomMessageHandler() function / Relating HTML/JavaScript and server.R
  • Shiny application
    • plot, including / Including a plot in a Shiny application
  • shinyapps.io
    • about / shinyapps.io
    • URL / shinyapps.io
    • applications, deploying on server / Deploying applications on your own server
    • R, installing / Installing R
    • RStudio server, installing / Installing the RStudio server
    • Shiny package, installing / Installing the Shiny package
  • Shiny package
    • installing / Installing the Shiny package
  • Shiny package installation
    • run_as / run_as
    • listen / listen
    • location / location
    • site_dir/app_dir / site_dir/app_dir
    • directory_index / directory_index
  • Shiny Server Professional v1.4.0 Administrator’s Guide
    • URL / Installing the Shiny package
  • Shiny web application
    • running / Running a Shiny web application
  • sort() function
    • about / Sorting elements
    • versus order() function / sort() versus order()
  • SQL databases
    • reading / Reading databases – SQL
  • structure, UI.R
    • about / The structure
    • page builders / The structure
    • conditionalPanel() example / conditionalPanel() – Example 1, conditionalPanel() – Example 2
    • tabPanel(), using in tabsetPanel() / An example on the use of tabPanel() in tabsetPanel()
  • styling
    • about / Styling
  • subset() function / Selecting elements from data frames
  • subsetting
    • URL / Selecting elements from lists
  • summary functions
    • about / Basic summary functions
    • table() function / Basic summary functions
    • aggregate() function / Basic summary functions
  • switch statement / The switch statement

T

  • table() function / Basic summary functions
  • tags
    • using, in UI.R / The use of tags in UI.R
    • URL / The use of tags in UI.R
    • JavaScript / JavaScript
    • Cascading Style Sheet (CSS) / CSS
    • HTML tags / Other tags
    • bootstrapPage() / Other tags
    • withTags() / Other tags
  • treemaps
    • about / Treemaps
    • URL / Treemaps

U

  • UI.R
    • about / An introduction to server.R and UI.R, UI.R
    • JavaScript/HTML wrapper / UI.R as a JavaScript/HTML wrapper
    • HTML, including / Including HTML within UI.R
    • structure / UI.R, The structure
    • inputs / Inputs
    • tags, using / The use of tags in UI.R
    / UI.R, UI.R
  • UI.R completion
    • about / UI.R completion
  • UI.R partial coding
    • about / UI.R partial coding
  • UIs
    • creating, from plain HTML / Creating UIs from plain HTML

V

  • validate() function / The validate() function
  • vapply function
    • about / The lapply, vapply, sapply, and apply functions
    • examples / Examples
  • variables, R
    • about / Variables in R
    • <- / Variables in R
    • -> / Variables in R
    • = / Variables in R
    • assign() / Variables in R
  • vectors
    • about / Vectors
    • elements, selecting from / Selecting elements from vectors

W

  • web application
    • running, ways / Running a Shiny web application
    • running, with runApp() / Running a Shiny web application
    • running, with runGist()/runGitHub() / Running a Shiny web application
    • running, with URL / Running a Shiny web application
  • while loop / The while loop
  • www directory
    • about / The www directory
lock icon The rest of the chapter is locked
arrow left Previous Section
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images