diff --git a/index.Rmd b/index.Rmd index 69a6671..08e6ed0 100644 --- a/index.Rmd +++ b/index.Rmd @@ -130,6 +130,7 @@ Let us design the user interface first. Note that we need four components, two s ```{r eval = F} require(rCharts) +options(RCHART_LIB = 'polycharts') shinyUI(pageWithSidebar( headerPanel("Percentage of Employed who are Senior Managers, by Sex"), diff --git a/index.html b/index.html index 2a4aad7..a3359e1 100644 --- a/index.html +++ b/index.html @@ -147,6 +147,7 @@

User Interface (ui.R)

Let us design the user interface first. Note that we need four components, two select boxes to allow the user to select the year and country, and two div tags to place the dynamically generated chart output.

require(rCharts)
+options(RCHART_LIB = 'polycharts')
 shinyUI(pageWithSidebar(
   headerPanel("Percentage of Employed who are Senior Managers, by Sex"),
 
diff --git a/index.md b/index.md
index 67140b7..823a95b 100644
--- a/index.md
+++ b/index.md
@@ -147,6 +147,7 @@ Let us design the user interface first. Note that we need four components, two s
 
 ```r
 require(rCharts)
+options(RCHART_LIB = 'polycharts')
 shinyUI(pageWithSidebar(
   headerPanel("Percentage of Employed who are Senior Managers, by Sex"),