README.md

Socratic Swirl

Socraticswirl lets instructors of the R programming language offer in-class, interactive programming exercises, while letting the instructors view student answers and progress in real-time. (For the instructor version, see here).

For students

To install the package, copy and paste the following into your R terminal:

devtools::install_github("HJ08003/socraticswirl-RStudioServer")

Your instructor will also give you a line of code to run within your R terminal, which will register your SocraticSwirl session so that it knows what course and lesson you are taking and who your instructor is. With course_name, lesson_name and your_id you already have, it will look something like this:

library(socraticswirl)
socratic_swirl(course_name, lesson_name)

After that, you can take any individual exercise, whenever the instructor prompts you, with a single line of R code. To take the first exercise in a lesson, do:

exercise(1)

To take the third exercise, you would do:

exercise(3)

Or, you may take all exercises by:

start()

It's that simple!

LICENSE

Socraticswirl is a fork of the Swirl package. It is released under the GPL-3 license.



HJ08003/socraticswirl-RStudioServer documentation built on May 20, 2019, 11:10 a.m.