Unable to install package tree

Unable to install package tree:

install.packages("tree")
Warning in install.packages :
package ‘tree’ is not available (for R version 3.5.3)

My current version should be up to date. Copied from the "About RStudio" section - Version 1.3.959

Rstudio is an application which is an IDE or Integrated Development Environment for working with R, but is seperate from the R language / R installation itself.
To know your R version type version into the console.

tree package requires R >= 3.6 so you need to update your R version (not RStudio) to be able to install it.

https://cran.r-project.org/

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.