Garrick Aden-Buie
rstudio::conf(2020, "JavaScript for Shiny Users")
rstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very different<button id="button-demo" value='0'> 👍 Plus one</button>
Go through the example twice... The first time, just showing the basics, focusing on the role of the languages.
The second time, talk through
id
Finally use last block as quick intro to JS
#button-demo { color: #4d8dc9; background-color: white; border: 2px solid #4d8dc9; padding: 0.5em 1em;}
#button-demo { color: #4d8dc9; background-color: white; border: 2px solid #4d8dc9; padding: 0.5em 1em;}
#button-demo:hover { background-color: #4d8dc9; color: white;}
#button-demo { color: #4d8dc9; background-color: white; border: 2px solid #4d8dc9; padding: 0.5em 1em;}#button-demo:hover { background-color: #4d8dc9; color: white;}
#button-demo:active { transform: scale(0.9);}
const btn = document.getElementById('button-demo')
btn.addEventListener('click', function() { let clicks = parseInt(btn.value) clicks = clicks + 1 btn.value = clicks btn.innerHTML = `👍 Plus one (${clicks})` console.log('Clicks: ' + clicks)})
{}
What can we do with Shiny and Javascript?
## ggplot2 {.pkg-stats}downloads: 846k/monthstars: 4.2kforks: 1.5k
<h2 class="pkg-stat" id="ggplot2">ggplot2</h2><dl> <dt>downloads</dt> <dd>846k/month</dd> <dt>stars</dt> <dd>4.2k</dd> <dt>forks</dt> <dd>1.5k</dd></dl>
One major reason for focusing on some of the fundamentals is that it's an expected baseline in much of the documentation.
Web people and libraries assume you're going to do web things, as anyone whose asked a shiny specific webdev question on stack overflow knows.
R and Shiny package docs focus on being productive with the tools, not necessarily going deep. How does anybody learn this?
Having a solid mental model of what web dev is supposed to be like is super helpful.
One major reason for focusing on some of the fundamentals is that it's an expected baseline in much of the documentation.
Web people and libraries assume you're going to do web things, as anyone whose asked a shiny specific webdev question on stack overflow knows.
R and Shiny package docs focus on being productive with the tools, not necessarily going deep. How does anybody learn this?
Having a solid mental model of what web dev is supposed to be like is super helpful.
One major reason for focusing on some of the fundamentals is that it's an expected baseline in much of the documentation.
Web people and libraries assume you're going to do web things, as anyone whose asked a shiny specific webdev question on stack overflow knows.
R and Shiny package docs focus on being productive with the tools, not necessarily going deep. How does anybody learn this?
Having a solid mental model of what web dev is supposed to be like is super helpful.
Keyboard shortcuts
↑, ←, Pg Up, k | Go to previous slide |
↓, →, Pg Dn, Space, j | Go to next slide |
Home | Go to first slide |
End | Go to last slide |
Number + Return | Go to specific slide |
b / m / f | Toggle blackout / mirrored / fullscreen mode |
c | Clone slideshow |
p | Toggle presenter mode |
t | Restart the presentation timer |
?, h | Toggle this help |
o | Tile View: Overview of Slides |
Esc | Back to slideshow |
Garrick Aden-Buie
rstudio::conf(2020, "JavaScript for Shiny Users")
rstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very differentrstudio.com
rstudio.com/index.html
index.html
says here's the documentindex.html
says it should be and what the page is when you see it are very different<button id="button-demo" value='0'> 👍 Plus one</button>
Go through the example twice... The first time, just showing the basics, focusing on the role of the languages.
The second time, talk through
id
Finally use last block as quick intro to JS
#button-demo { color: #4d8dc9; background-color: white; border: 2px solid #4d8dc9; padding: 0.5em 1em;}
#button-demo { color: #4d8dc9; background-color: white; border: 2px solid #4d8dc9; padding: 0.5em 1em;}
#button-demo:hover { background-color: #4d8dc9; color: white;}
#button-demo { color: #4d8dc9; background-color: white; border: 2px solid #4d8dc9; padding: 0.5em 1em;}#button-demo:hover { background-color: #4d8dc9; color: white;}
#button-demo:active { transform: scale(0.9);}
const btn = document.getElementById('button-demo')
btn.addEventListener('click', function() { let clicks = parseInt(btn.value) clicks = clicks + 1 btn.value = clicks btn.innerHTML = `👍 Plus one (${clicks})` console.log('Clicks: ' + clicks)})
What can we do with Shiny and Javascript?
## ggplot2 {.pkg-stats}downloads: 846k/monthstars: 4.2kforks: 1.5k
<h2 class="pkg-stat" id="ggplot2">ggplot2</h2><dl> <dt>downloads</dt> <dd>846k/month</dd> <dt>stars</dt> <dd>4.2k</dd> <dt>forks</dt> <dd>1.5k</dd></dl>
One major reason for focusing on some of the fundamentals is that it's an expected baseline in much of the documentation.
Web people and libraries assume you're going to do web things, as anyone whose asked a shiny specific webdev question on stack overflow knows.
R and Shiny package docs focus on being productive with the tools, not necessarily going deep. How does anybody learn this?
Having a solid mental model of what web dev is supposed to be like is super helpful.
One major reason for focusing on some of the fundamentals is that it's an expected baseline in much of the documentation.
Web people and libraries assume you're going to do web things, as anyone whose asked a shiny specific webdev question on stack overflow knows.
R and Shiny package docs focus on being productive with the tools, not necessarily going deep. How does anybody learn this?
Having a solid mental model of what web dev is supposed to be like is super helpful.
One major reason for focusing on some of the fundamentals is that it's an expected baseline in much of the documentation.
Web people and libraries assume you're going to do web things, as anyone whose asked a shiny specific webdev question on stack overflow knows.
R and Shiny package docs focus on being productive with the tools, not necessarily going deep. How does anybody learn this?
Having a solid mental model of what web dev is supposed to be like is super helpful.