Learn R Programming

⚠️There's a newer version (2.4.5) of this package.Take me there.

swirl (version 2.2.16)

Learn R, in R.

Description

swirl turns the R console into an interactive learning environment. Users receive immediate feedback as they are guided through self-paced lessons in data science and R programming.

Copy Link

Version

Install

install.packages('swirl')

Monthly Downloads

18,143

Version

2.2.16

License

GPL-3

Maintainer

Nick Carchedi

Last Published

August 26th, 2014

Functions in swirl (2.2.16)

AnswerTests

Answer Tests
install_course_zip

Install a course from a zipped course folder
reset

Start over on the current script question.
val_matches

Test that the user's expression matches a regular expression.
install_course_github

Install a course from a GitHub repository
submit

Submit the active R script in response to a question.
any_of_exprs

Test that the user has entered one of several possible expressions.
InstallCourses

Installing Courses
bye

Exit swirl.
install_course_google_drive

Install a course from a zipped course directory shared on Google Drive
expr_uses_func

Test that a particular function has been used.
expr_is_a

Test that the expression itself is of a specific class.
uninstall_course

Uninstall a course
email_admin

Send diagnostic email to swirl admin
swirl

An interactive learning environment for R and statistics.
func_of_newvar_equals

Test the result of a computation applied to a specific (user-named) variable created in a previous question.
main

Return to swirl's main menu.
nxt

Begin the upcoming question or unit of instruction.
play

Tell swirl to ignore console input for a while.
var_is_a

Test that the value of the expression is of a specific class.
install_from_swirl

Install a course from the official course repository
expr_creates_var

Test that a new variable has been created.
expr_identical_to

Test that the user has entered a particular expression.
install_course_url

Install a course from a url that points to a zip file
info

Display a list of special commands.
install_course_dropbox

Install a course from a zipped course directory shared on Dropbox
skip

Skip the current unit of instruction.
val_has_length

Test that the value of the expression has a particular length.
zip_course

Zip a course directory
install_course_directory

Install a course from a course directory
omnitest

Test for a correct expression, a correct value, or both.