class: center, middle, inverse, title-slide # Cherish day one ##
What they forgot to teach you
about
teaching
R ###
wtf-teach.netlify.app
--- layout: true <div class="my-footer"> <span> <a href="http://wtf-teach.netlify.app/" target="_blank">wtf-teach.netlify.app</a> </span> </div> --- class: inverse, middle # Let's start with another question... --- class: middle, inverse ## Which kitchen would you rather bake in? .pull-left[ <img src="images/kitchen-inrepair.png" width="60%" style="display: block; margin: auto;" /> ] .pull-right[ <img src="images/kitchen-built.png" width="60%" style="display: block; margin: auto;" /> ] --- class: middle, inverse ## Which kitchen would you rather bake in? .pull-left[ <img src="02-dayone_files/figure-html/kitchen-inrepair-xed-1.png" width="60%" style="display: block; margin: auto;" /> ] .pull-right[ <img src="02-dayone_files/figure-html/kitchen-built-selected-1.png" width="60%" style="display: block; margin: auto;" /> ] --- .pull-left[ <img src="images/kitchen-inrepair.png" width="60%" height="250" style="display: block; margin: auto;" /> - Install R - Install RStudio - Install the following packages: - tidyverse - rmarkdown - ... - Load these packages - Install git ] .pull-right[ <img src="images/kitchen-built.png" width="60%" height="250" style="display: block; margin: auto;" /> - Go to rstudio.cloud (or some other server based solution) - Log in with your ID & pass ```r > hello R! ``` ] --- class: inverse, middle # Hello RStudio Cloud! --- ## What is RStudio Cloud? .pull-left-narrow[ <img src="images/cloud.png" width="60%" style="display: block; margin: auto;" /> ] .pull-right-wide[ .large[We created **RStudio Cloud** to make it easy for professionals, hobbyists, trainers, teachers, and students to do, share, teach, and learn data science using R.] ] --- <img src="images/rstudio-ide.png" width="75%" style="display: block; margin: auto;" /> --- <img src="images/rstudio-cloud.png" width="75%" style="display: block; margin: auto;" /> --- ## Why RStudio Cloud? - Does not require IT support - Features designed for instructors: - Classes can be organized in workspaces - Members can be assigned different roles: instructor, TA, student - Projects can be public or private - Projects can be made into assignments - Students can make copies of projects created by instructor - Instructor can peek into student projects - A base project template can ensure same packages in each new project created in the workspace - Git works out of the box --- class: inverse, middle # Context 1: You're sharing a project .hand[at a meetup talk, conference presentation, teaching a class, etc.] --- class: middle .larger[ π©βπ« presenter (teacher) ] .larger[ π©βπ» audience (student) ] --- ## Single project, instructor view <iframe width="1200" height="530" src="https://www.youtube.com/embed/81MrMcKZTX8" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> .right[ .large[ π©βπ« ] ] --- ## Single project, student view <iframe width="1200" height="530" src="https://www.youtube.com/embed/_VCYdDQTFG8" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> .right[ .large[ π©βπ» ] ] --- ## Sharing an individual project .pull-left[ .hand[.green[Good!]] - Students land directly in a project upon login - Works well for workshops where all work will be completed in a single project - Also great for sharing code in general, e.g. collaboration, reprexes, etc. ] -- .pull-right[ .hand[.pink[Not so good...]] - Students need to remember to make a copy of the project (which means you need to remember to remind them!) - Changes you make after student launches the project wonβt propagate to their project ] --- class: inverse, middle # Context 2: You're sharing a workspace .hand[for teaching a longer workshop, course, etc.] --- ## Creating a workspace, instructor view <iframe width="1200" height="530" src="https://www.youtube.com/embed/tqu1m9R1HLw" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> .right[ .large[ π©βπ« ] ] --- ## Sharing a workspace .pull-left[ .hand[.green[Good!]] - Various permission levels - Base projects with desired packages installed - Assignments, which remove the need to remind students to make a copy of the project before starting work - Ability to peek into studentsβ projects ] .pull-right[ .hand[.pink[Not so good...]] - Students land in the workspace, may need to provide instructions for the next steps - You can update the base project throughout the course, but it will only be applied to projects created going forward ] --- ## Tips - Each project is allocated 1GB of RAM and 1 CPU - Test things out before assignments involving large datasets - What your students see is not always what you see - Create a secondary account and add as a student --- class: inverse, middle # Your turn