R – installing swirl package

As I started “R Programming” course on Coursera one of the first things to do was installation of swirl R package¬†which allow you to “learn R, in R”. So as laconic instruction says you should be able to install this package in R with following command: install.packages(“swirl”) But sometimes this does not work until you R – installing swirl package