ABSTRACT

Learning to code/program is quite similar to learning a foreign language. It can be daunting and frustrating at first. Such frustrations are common and it is normal to feel discouraged as learner learn. One point of confusion with many new R users is the idea of an R package. R packages extend the functionality of R by providing additional functions, data, and documentation. They are written by a worldwide community of R users and can be downloaded for free from the internet. So R is like a new mobile phone: while it has a certain amount of features when learner use it for the first time, it doesn’t have everything. R packages are like the apps learner can download onto their phone from Apple’s App Store or Android’s Google Play. There are two ways to install an R package: an easy way and a more advanced way.