
Open RStudio and click the image of a ‘white and green plus sign on top of a white square’ that says New File when you hover over it.Copy the code above by clicking the button to the top right of the code chunk which says Copy to clipboard when you hover over it.List.of.packages.cran <- c( "arm", "car", "corrplot", "FRK", "gghighlight", "ggplot2", "ggmap", "GISTools", "gridExtra", "gstat", "jtools", "kableExtra", "knitr", "lme4", "lmtest", "lubridate", "MASS", "merTools", "plyr", "RColorBrewer", "rgdal", "sf", "sjPlot", "sp", "spgwr", "spatialreg", "spacetime", "stargazer", "tidyverse", "tmap", "viridis", "tufte" ) <- list.of.packages.cran)] if( length()) install.packages() for(i in 1 : length(list.of.packages.cran)) Once the installation is complete, click Finish.Leave the default (Additional shortcuts unticked,Registry entries ticked) and click Next.The next window will ask you to select additional task that will be performed while installing R.Leave the default settings (R) and click Next.


The next window shows the Terms and Conditions.A new window will pop up asking you to select a language for the installation.NOTE: Once you double click on the file, a window might pop up that asks you if you want to allow this app to make changes to your device click YES to continue the installation Navigate to your Downloads folder and double click on the R-4.0.3-win file.
