I currently have R version 3.4.4 on my R Studio on my MacOS Mojave version 10.14 but I am trying to download R version > 4. I need this because the package Gviz will only work on 4+ R version. Any suggestions on how to download R version > 4 would be highly appreciated.
I have already used the following methods but they have not worked:
Method 1
RStudio.Version()
install.packages("installr")
library(installr)
updateR()
Method 2
From within RStudio, went to Help > Check for Updates to install newer version of RStudio (if available, optional). To update packages, went to Tools > Check for Package Updates. If updates are available, select All (or just tidyverse), and clicked Install Updates.
With both methods I ended up with R version 3.4.4 but I need R version >4