Skip to content

Swirl course to learn R for the students of the University of Cordoba (Spain)

License

Notifications You must be signed in to change notification settings

mjmarin/ucoswirlR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UCO swirl R

Swirl course to learn R programming for the students of the University of Cordoba (Spain).

By Manuel J. Marin-Jimenez

First of all, make sure you have installed 'swirl' library in your R system. Otherwise, type in the R console

   install.packages("swirl")

Quick start

Download file '.swc' in your computer.

Then, in the R console, type

    library(swirl)
    install_course()

You will be asked to select the '.swc' you downloaded previously. If everything went well, you will receive a message like 'Course installed successfully!'

Once installed, type

    swirl()

You are ready to select this new course and start learning!

Useful notes:

  • If you want to use this course on a multi-user system (e.g. the computers of your university), you might need to set the following variables, right after loading the swirl library:
   swirl_options(swirl_data_dir="~/swirl_data")
   swirl_options(swirl_courses_dir="~/swirl_courses")

This example assumes that you have previously created both folders swirl_data and swirl_courses in your home directory.

About

Swirl course to learn R for the students of the University of Cordoba (Spain)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published