Install and run a course automatically from swirl
This is the preferred method of installing courses. It automates the process by allowing you to do everything right from the R console.
1) Make sure you have a recent version version of swirl:
install.packages("swirl")
2) Enter the following from the R console, substituting the name of the course that you wish to install:
library(swirl)
install_from_swirl("Course Name Here")
swirl()
For example,
install_from_swirl("R Programming")
will install the R Programming course. Please note that course names are case sensitive!
If that doesn't work for you...
Install and run a course manually
If the automatic course installation method outlined above does not work for you, then there's a simple alternative.
1) Click on the Download ZIP button on the righthand side of this page.
2) Enter the following from the R console, substituting the correct file path to your downloaded file and the name of your desired course:
library(swirl)
install_course_zip("path/to/file/here/swirl_courses-master.zip", multi=TRUE,
which_course="Course Name Here")
swirl()
Nenhum comentário:
Postar um comentário