Unable to install rMarkdown

I am unable to install rmarkdown on my mac laptop (macOS Monterey, Version 12.7.2). I've already uninstalled and installed R-Studio, so I think I have the latest version.

Please see Google Docs Page for the results as it was too much to paste into the text box. I've provided screenshots and a copy of the console in the document.

Any help is appreciated! Thanks!

The Console responded with a warning

Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5:
cannot open URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/PACKAGES'

I am unable to access both websites above as they return a 404 Not Found error.

R 3.5.x is a very old R version, and the easiest fix is to upgrade your R version.

There are other possible solutions as well, but those are more complicated, so definitely try to update R first, if you can.

1 Like

@Gabor, that was the solution. Thank you!

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.