Tutorial by Examples

To get the latest release go to https://cran.r-project.org/ and download the file for your operating system. Open the downloaded file and follow the on-screen installation steps. All the settings can be left on default unless you want to change a certain behaviour.
You can also update R from within R by using a handy package called installr. Open R Console (NOT RStudio, this doesn't work from RStudio) and run the following code to install the package and initiate update. install.packages("installr") library("installr") updateR()
Once the installation is finished click the Finish button. Now it asks if you want to copy your packages fro the older version of R to Newer version of R. Once you choose yes all the package are copied to the newer version of R. After that you can choose if you still want to keep the old package...
You can update your installed packages once the updating of R is done. Once its done Restart R and enjoy exploring.
You can check R Version using the console version

Page 1 of 1