Learn R Programming

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

swirl (version 2.4.1)

Learn R, in R

Description

Use the R console as 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

9,962

Version

2.4.1

License

MIT + file LICENSE

Maintainer

Sean Kross

Last Published

April 14th, 2016

Functions in swirl (2.4.1)

calculates_same_value

Test that the user's expression evaluates to a certain value.
delete_progress

Delete a user's progress
install_course_url

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

Zip a course directory
InstallCourses

Installing Courses
func_of_newvar_equals

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

Install a course from the official course repository
skip

Skip the current unit of instruction.
rmatch_calls

Recursively expand match calls in an expression from the bottom up.
omnitest

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

Send diagnostic email to swirl admin
swirl

An interactive learning environment for R and statistics.
play

Tell swirl to ignore console input for a while.
info

Display a list of special commands.
uninstall_all_courses

Uninstall all courses
install_course_directory

Install a course from a course directory
reset

Start over on the current script question.
install_course_google_drive

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

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

Uninstall a course
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
bye

Exit swirl.
install_course

Install a course from The swirl Course Network or install a course from a local .swc file.
main

Return to swirl's main menu.
expr_uses_func

Test that a particular function has been used.
restart

Restart the current swirl lesson.
install_course_github

Install a course from a GitHub repository
is_robust_match

Recursively expand both the correct expression and the user's expression and test for a match. CAUTION: May raise errors, as in rmatch_calls.
any_of_exprs

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

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

Begin the upcoming question or unit of instruction.
install_course_zip

Install a course from a zipped course folder
expr_creates_var

Test that a new variable has been created.
val_matches

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

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

Select a language
val_has_length

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

Answer Tests
swirl_options

Get swirl options