Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

install_from_swirl

Install a course from the official course repository


Description

We are currently maintaining a central repository of contributed swirl courses at https://github.com/swirldev/swirl_courses. This function provides the easiest method of installing a course form the repository.

We have another repository at https://github.com/swirldev/swirl_misc, where we keep experimental features and content. The dev argument allows you to access this repository. Content in the swirl_misc repository is not guaranteed to work.

The central repository of swirl courses is mirrored at https://bitbucket.org/swirldevmirror/swirl_courses. If you cannot access GitHub you can download swirl courses from bitbucket by using the mirror = "bitbucket" option (see below).

Usage

install_from_swirl(course_name, dev = FALSE, mirror = "github")

Arguments

course_name

The name of the course you wish to install.

dev

Set to TRUE to install a course in development from the swirl_misc repository.

mirror

Select swirl course repository mirror. Valid arguments are "github" and "bitbucket".

See Also

Examples

## Not run: 

install_from_swirl("R_Programming") # Directory name

### OR ###

install_from_swirl("R Programming") # Course name

# To install a course in development from the swirl_misc repository
install_from_swirl("Including Data", dev = TRUE)

# To install a course from the Bitbucket mirror
install_from_swirl("R Programming", mirror = "bitbucket")

## End(Not run)

swirl

Learn R, in R

v2.4.5
MIT + file LICENSE
Authors
Sean Kross [aut, cre], Nick Carchedi [aut], Bill Bauer [aut], Gina Grdina [aut], Filip Schouwenaars [ctb], Wush Wu [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.