Updating R to latest version in R studio on Windows

Updating the existing R version to the latest version from R studio itself on Windows. Simple, yet appealing!

#install the Installr package

install.packages(“installr”)

#load the package

library(installr)

#use the updateR() function

updateR()

After this, follow the self explanatory dialogue boxes that appear during the installation process. In this process, R asks if you want to MOVE your packages(not copy) from your older version to the newer version. You can click yes. This will move the packages into the newer version and erase them in the older version. If you already have the latest version installed(3.5.2), updateR() function returns a message box that says: “No need to update.You are using the latest R version: R version 3.5.2(2018-12-20)” I updated my version today and also learnt this newer way of updating R version. Hope this helps!! To learn more, please visit the source:

Updating R from R (on Windows) – using the {installr} package

dplyr in R

Today we’ll see about the dplyr package in R also known as grammar of data manipulation. In the last tutorial we saw about the ggplot2 which is another famous package in R. It consist of set of functions which helps you for different type of data manipulation. I’ll be using medical cost data set from Kaggle(data source). I’ve listed all possible documentation and resources to learn more about the dplyr package.

Read more

1 2