This question already has answers here:
Downgrade R version (no issues with Bioconductor installation)
(2 answers)
Closed 3 years ago.
I updated my version of R not realizing that several packages are not compatible. I'd like to go back to version 3.5.2 (for Mac), but I can't find it anywhere. Anyone know where to find old versions?
I was able to get version 3.5.2 by modifying the link to download the present version (https://cran.r-project.org/bin/macosx/R-3.6.1.pkg), with the version number I'm interested in (https://cran.r-project.org/bin/macosx/R-3.5.1.pkg). This started an automatic download.
You can find and download all released versions of R for Mac here
Related
This question already has answers here:
Update R using RStudio
(10 answers)
Closed 2 years ago.
I need to update R manually, in RStudio. Then I gone to: Tools -> Global options -> General. But I didn't see guidelines for updating.
Just download a new R version from CRAN and install it on your system.
If you are on windows, check the installr package : installr
I don't think that you can update R via point and click from RStudio. Either you download the new version manually from CRAN (it comes with an installer so you don't need to do anything by yourself) or you use the installR package on Windows or the updateR package on Mac: https://github.com/AndreaCirilloAC/updateR
This question already has answers here:
Installing older version of R package
(8 answers)
Closed 6 years ago.
Quick question, I'm using an older version of R Studio - R 3.2.3 - and some newer packages require a newer version. Specifically, I want the wordcloud package, so is there a way to install an older version that is compatible with my version of R? I couldn't find a simple straight-to-the-point answer online and I'm on a bit of a time crunch since I need to create some wordclouds.
I'm using a Windows machine.
There are two ways you can install older packages in R.
Using devtools
Use the following code, updating the 2.2 with the version of wordcloud that you require.
require(devtools)
install_version("wordcloud", version = "2.2", repos = "http://cran.us.r-project.org")
Installing older packages from source
Equally you can install older packages directly from a URL as below.
wordcloudURL <- "https://cran.r-project.org/src/contrib/Archive/wordcloud/wordcloud_2.2.tar.gz"
install.packages(wordcloudURL, repos=NULL, type="source")
The URLs for older versions of wordcloud are available here.
This question already has answers here:
How should I deal with "package 'xxx' is not available (for R version x.y.z)" warning?
(18 answers)
Closed 8 years ago.
I have R of version 3.0.1 and I have to install Shiny Incubator for that prerequisite is devtools. But i am not able to install both of them as they are not available in given R versions.
"Not available", through install.packages, doesn't actually mean that they're not available - merely that the latest released version isn't compatible with your R version. So, one option is to upgrade, as MrFlick notes - but if you don't have control over your machine (it's remote, say), or you can't upgrade, an alternative is to look in the archive of package versions, and download them from most recent to oldest until you find the one that is compatible.
As an example, let's take devtools. As you can see from the "Depends" field, it needs >= R 3.0.2 - damn! But the archive, containing the old releases, probably has one that's compatible with 3.0.1. Unfortunately the archive doesn't contain compatibility notes, but it does contain dates of release - and we can be fairly sure that versions released prior to R 3.0.2's release won't be designed to work with 3.0.2.
3.0.2 was released in September 2013, and devtools 1.3.0 was released in July. Download it and see if it works. Obviously this may cause problems such as missing functionality that was released in later versions of devtools, but if you can't upgrade, it's better than not having it.
This question already has answers here:
Installing older version of R package
(8 answers)
Closed 7 years ago.
I am trying to install the R package bigrf using the following command:
install.packages('bigrf')
However, I receive this error:
Warning in install.packages: package 'bigrf' is not available (for R version 3.0.2).
I understand that the package was not built for R version 3.0.2, but is it not possible for me to install it regardless with the understanding that it might not have complete forward compatibility?
The safest thing to do would be to download the last version that the package was built for (link) and run the code on that version.
The easiest way to rebuild a package from source is using R-Studio.
They have a good walkthrough. You will need to use the devtools package as well.
This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
Painless way to install a new version of R?
In R, packages are not compatible across upgrades, and must be reinstalled. Is there any way to easily install the same set of packages in the new version as what I had installed in the old version?
Edit: I can't easily access the old version of R, since I upgrade via apt.
I just posted a question with a possible solution:
update.packages(checkBuilt=TRUE, ask=FALSE)
What about that doesn't work for you?