Learn R Programming

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

swirl (version 2.2.6)

Statistics with Interactive R Learning

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

License

GPL-3

Maintainer

Nick Carchedi

Last Published

May 10th, 2014

Functions in swirl (2.2.6)

install_course_zip

Install a course from a zipped course folder
expr_creates_var

Tests if the e$expr creates one new variable (of correct name if given.) If so, returns TRUE.
val_matches

Returns TRUE if as.character(e$val) matches the regular expression given as the first argument.
expr_is_a

Returns TRUE if e$expr is of the given class
install_course_google_drive

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

Install a course from the official course repository
omnitest

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

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

Begin the upcoming question or unit of instruction.
main

Return to swirl's main menu.
zip_course

Zip a course directory
expr_identical_to

Test that the user has entered an expression identical to that given as the first argument.
swirl

An interactive learning environment for R and statistics.
var_is_a

Returns TRUE if a variable of the given name exists in the global environment and is of the given class.
bye

Exit swirl.
val_has_length

Test the the length of e$val is that given by the first argument
skip

Skip the current unit of instruction.
play

Tell swirl to ignore console input for a while.
info

Display a list of special commands.
install_course_directory

Install a course from a course directory
expr_uses_func

Returns TRUE if the e$expr uses the function whose name is given as the first argument.
install_course_dropbox

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

Install a course from a GitHub repository
func_of_newvar_equals

Tests the result of a computation such as mean(newVar) applied to a specific variable created in a previous question and saved as e$newVar.
uninstall_course

Uninstall a course