Description Usage Arguments See Also Examples
View source: R/install_course.R
Version 2.4 of swirl introduces a new, simple, and fast way of installing
courses in the form of .swc
files. This function allows a user to grab
a .swc
file from The swirl Course Network which is maintained by Team
swirl, or the user can use this function to install a local .swc
file.
When using this function please only provide an argument for either
course_name
or swc_path
, never both.
1 | install_course(course_name = NULL, swc_path = NULL, force = FALSE)
|
course_name |
The name of the course you wish to install. |
swc_path |
The path to a local |
force |
Should course installation be forced? The
default value is |
Other InstallCourses:
InstallCourses
,
install_course_directory()
,
install_course_dropbox()
,
install_course_github()
,
install_course_google_drive()
,
install_course_url()
,
install_course_zip()
,
install_from_swirl()
,
uninstall_all_courses()
,
uninstall_course()
,
zip_course()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
# Install the latest version of Team swirl's R Programming course.
install_course("R Programming")
# Install a local .swc file by using your mouse and keyboard to select the
# file.
install_course()
# Install a .swc file from a specific path.
install_course(swc_path = file.path("~", "Downloads", "R_Programming.swc"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.