$30 off During Our Annual Pro Sale. View Details »

Teaching and learning with RStudio Cloud

Teaching and learning with RStudio Cloud

Learn about RStudio Cloud and most recent developments, particularly with respect to teaching with it.

Mine Cetinkaya-Rundel

August 15, 2021
Tweet

More Decks by Mine Cetinkaya-Rundel

Other Decks in Technology

Transcript

  1. Mine Çetinkaya-Rundel


    August 2021
    RStudio Cloud
    Teaching and learning with
    🔗 rstd.io/tl-rscloud

    View Slide

  2. 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.

    View Slide

  3. Hello RStudio


    Cloud

    View Slide

  4. View Slide

  5. Why? RStudio


    in the cloud

    View Slide

  6. 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…

    View Slide

  7. How? RStudio


    in the cloud

    View Slide

  8. 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

    View Slide

  9. RStudio


    Workbench*
    You have


    ‣ sysadmin experience / IT support


    ‣ hardware / local VM / cloud
    computing credit


    ‣ RStudio experience
    RStudio


    Cloud
    You have


    ‣ RStudio experience

    View Slide

  10. Why? RStudio


    Cloud

    View Slide

  11. 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

    View Slide

  12. Projects in


    RStudio Cloud

    View Slide

  13. View Slide

  14. View Slide

  15. View Slide

  16. Teaching with


    RStudio Cloud

    View Slide

  17. 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

    View Slide

  18. Share an


    RStudio Cloud


    project
    1

    View Slide

  19. instructor view

    View Slide

  20. student view

    View Slide

  21. +
    ‣ 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

    View Slide

  22. Invite to an


    RStudio Cloud


    workspace
    2

    View Slide

  23. instructor view

    View Slide

  24. instructor view

    View Slide

  25. instructor view

    View Slide

  26. 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

    View Slide

  27. instructor view

    View Slide

  28. 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

    View Slide

  29. +
    ‣ 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

    View Slide

  30. Tips for
    teaching with


    RStudio Cloud

    View Slide

  31. 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

    View Slide

  32. 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

    View Slide

  33. rstd.io/cloud-playlist

    View Slide

  34. rstudio.cloud/plans

    View Slide

  35. Mine Çetinkaya-Rundel


    August 2021
    RStudio Cloud
    Teaching and learning with
    🔗 rstd.io/tl-rscloud

    View Slide