

I also have my own package hausekeep, which has functions I use frequently. You only need to install any given package once (but remember to update them when newer versions are available). To install packages, run the following code in RStudio. Make sure you have the latest version of R and RStudio. Below are a few packages I use regularly. Here’s how to install R packages (also called libraries) that extend R’s basic functionality. Just go to their websites and download and re-install them again. It’s good practice to always use the latest versions. You should check whether there are newer versions of R and RStudio at least once every few months and install them if available. Updating R and RStudio once every few months Thus, RStudio is useless without R, just like furniture and decorations are useless if you don’t already have a house. R is like your new but empty home (without furniture and quite unlivable unless you’re a real minimalist) and RStudio are like furniture and decorations added to your house (R), making your house much more livable and even pretty. We usually never use R itself and always run RStudio (RStudio relies on R). We generally use RStudio as a pretty and user-friendly interface to R.ĭownload RStudio here (the FREE version).Īfter installing both R and RStudio, run RStudio. It doesn’t look too good and isn’t too user-friendly.

Follow the instructions under Getting Started to download R. It takes me many hours to research, learn, and put together tutorials. Download everything from GitHub Consider being a patron and supporting my work?ĭonate and become a patron: If you find value in what I do and have learned something from my site, please consider becoming a patron.

The RMarkdown scripts used to generate all the tutorials and posts have filenames that end with. On the Github page, click the green Clone or download button at the top right of the page to download everything you can find on this site. Otherwise, check out my tutorials and articles.Ĭlick here to download everything on this site as a zip folder.Īlternatively, you can also clone or fork the Github repository for this site. If you’re new to R, follow the instructions below to install R and RStudio. Get source code for this RMarkdown script here.
