Slide 1

Slide 1 text

Mine Çetinkaya-Rundel Duke University + RStudio RStudio Cloud Teaching and learning with 🔗 rstd.io/rscloud-whyR

Slide 2

Slide 2 text

RStudio Cloud is a lightweight, cloud-based solution that allows anyone to do, share, teach and learn data science online, in the browser. There is nothing to configure, no dedicated hardware, no installation.

Slide 3

Slide 3 text

Hello RStudio Cloud

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

Why? RStudio in the cloud

Slide 6

Slide 6 text

lots of friction points ‣ Install R ‣ Install RStudio ‣ Install the following packages: ‣ rmarkdown ‣ tidyverse ‣ ... ‣ Load these packages ‣ Install git much less friction ‣ Go to rstudio.cloud ‣ Log in ‣ Start coding…

Slide 7

Slide 7 text

How? RStudio in the cloud

Slide 8

Slide 8 text

RStudio Workbench* You have ‣ sysadmin experience / IT support ‣ hardware / local VM / cloud computing credit ‣ RStudio experience rstudio.com/pricing/academic-pricing ✓ Free licensing for teaching with RStudio’s academic pricing ✓ Çetinkaya-Rundel, Mine, and Rundel, Colin. "Infrastructure and tools for teaching computing throughout the statistical curriculum." The American Statistician (2018). doi.org/10.1080/00031305.2017.1397549

Slide 9

Slide 9 text

RStudio Workbench* You have ‣ sysadmin experience / IT support ‣ hardware / local VM / cloud computing credit ‣ RStudio experience RStudio Cloud You have ‣ RStudio experience

Slide 10

Slide 10 text

Why? RStudio Cloud

Slide 11

Slide 11 text

RStudio Cloud in a nutshell ‣ Does not require IT experience to set up ‣ Features designed for teaching ‣ Organize class as workspace ‣ Leverage roles (instructor, teaching assistant, student) ‣ Turn projects into assignments ‣ Peek into student projects ‣ Ensure same setup with a base project ‣ System libraries work out of the box (e.g., Git) ‣ Knit to PDF and Word works out of the box

Slide 12

Slide 12 text

Projects in RStudio Cloud

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

Teaching with RStudio Cloud

Slide 17

Slide 17 text

Shorter engagement Longer Engagement ‣ Workshop, short course, etc. ‣ Content can be organized in one (or few) project(s) ‣ Not keeping track of learners share project ‣ Semester-long course, multi-day workshop, etc. ‣ Content best organized in multiple projects ‣ Keeping track of learners invite to workspace

Slide 18

Slide 18 text

Share an RStudio Cloud project 1

Slide 19

Slide 19 text

instructor view

Slide 20

Slide 20 text

student view

Slide 21

Slide 21 text

+ ‣ Students land directly in a project upon login ‣ Great for sharing code in general, e.g. collaboration, reproducible examples (reprexes), etc. - ‣ Students need to remember to make a permanent copy of the project ‣ You can't keep track which students started their assignment ‣ You need to be granted permission to peek into student projects ‣ Permanent projects count towards students’ free hours ‣ Students control permissions + / - Sharing an RStudio Cloud project

Slide 22

Slide 22 text

Invite to an RStudio Cloud workspace 2

Slide 23

Slide 23 text

instructor view

Slide 24

Slide 24 text

instructor view

Slide 25

Slide 25 text

instructor view

Slide 26

Slide 26 text

instructor view RStudio Cloud role permission course role Admin Manage users, view, edit and manage all projects Instructor Moderator View, edit and manage all projects TA Contributor Create, edit and manage their own projects Student Viewer View projects shared with everyone Auditor, Guest

Slide 27

Slide 27 text

instructor view

Slide 28

Slide 28 text

instructor view Base projects ‣ Anything you might want in all projects: ‣ R version ‣ Installed packages ‣ Files (e.g., code of conduct, submission instructions, etc.) ‣ Update as many times as you like! ‣ Changes are not retroactive

Slide 29

Slide 29 text

+ ‣ 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 - ‣ Students land in the workspace, may need instructions for next steps (e.g., start the assignment titled Getting started) ‣ Student work counts towards (instructor/institution) workspace hours ‣ Instructor controls permissions + / - Inviting to an RStudio Cloud workspace

Slide 30

Slide 30 text

Tips for teaching with RStudio Cloud

Slide 31

Slide 31 text

Tips for teaching with RStudio Cloud ‣ Changes to an assignment student has started won’t propagate to student copies ‣ Packages in the base project are installed, but not loaded ‣ The latest information is always on the RStudio Cloud Guide and the What’s New page ‣ If you encounter slowness/glitches, check the System Status

Slide 32

Slide 32 text

Tips for teaching with RStudio Cloud ‣ Create an additional account, log in as a student to see what they see ‣ Test assignments to set sufficient computational resources ‣ Use the “peek at your students’ project” feature sparingly ‣ Use the “assignment” feature for live coding starters

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

Programming with 📦 rscloud

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

Learn more about RStudio Cloud

Slide 37

Slide 37 text

rstd.io/cloud-playlist

Slide 38

Slide 38 text

Mine Çetinkaya-Rundel Duke University + RStudio RStudio Cloud Teaching and learning with 🔗 rstd.io/rscloud-whyR