Learn R Programming

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

swirl (version 2.2.15)

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

License

GPL-3

Maintainer

Nick Carchedi

Last Published

August 8th, 2014

Functions in swirl (2.2.15)

expr_is_a

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

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

An interactive learning environment for R and statistics.
expr_identical_to

Test that the user has entered a particular expression.
install_course_dropbox

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

Begin the upcoming question or unit of instruction.
email_admin

Send diagnostic email to swirl admin
install_course_zip

Install a course from a zipped course folder
var_is_a

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

Zip a course directory
expr_creates_var

Test that a new variable has been created.
val_has_length

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

Installing Courses
install_course_google_drive

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

Install a course from a GitHub repository
omnitest

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

Install a course from a course directory
submit

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

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

Start over on the current script question.
AnswerTests

Answer Tests
play

Tell swirl to ignore console input for a while.
uninstall_course

Uninstall a course
install_course_url

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

Install a course from the official course repository
bye

Exit swirl.
info

Display a list of special commands.
main

Return to swirl's main menu.
val_matches

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

Skip the current unit of instruction.
expr_uses_func

Test that a particular function has been used.