randomForest() for R Version 4.0.3 - r

I have tried to install randomForest() directly from the archived links with zero success. Every time I get the same error:
Warning in install.packages :
package ‘https://cran.r-project.org/src/contrib/Archive/randomForest/randomForest_4.6-14.tar.gz’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
Any help would be appreciated, thanks! I have looked at other posts on the site, but none of the things have worked and they are geared towards version 4.0.2 (I don't know how big of a difference that makes)

Related

Unable to install package "Phytotools"

Does anyone know what version of R "phytotools" is made for? I have the most recent version of R, (I updated it today, 2022-08-17), and i need to download phytotools. However I get an error message and cannot figure out what version of R it needs. Thanks
install.packages("phytotools")
Warning in install.packages :
package ‘phytotools’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

How to install Package MVTNORM

I am trying to install package mvtnorm, but it says that package ‘mvtnorm’ is not available (for R version 3.4.4)....
I believe this is happening cause of R version..... but When I am trying to upgrade R...it is not allowing me to do so.
I tried to install package "installr" for upgrading R, but it showed the same error - "installr’ is not available (for R version 3.4.4).
There is update tab under "HELP" on the console panel of the studio...it is not responding....
I am using Linux machine for the first time...so i am really confused on how to go about.
I hope to get this thing solved with some help from an expert who can guide me on how to proceed.

Blotter cannot be loaded in r 3.5.1

I was able to use blotter and run quantstrat fine with previous r version
However, I have updated R vesion to 3.5.1 and when I load blotter I receive this msg when loading blotter:
"Error: package or namespace load failed for ‘blotter’: package ‘blotter’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version"
I have tried reinstall all packages. but blotter still does not work. There are info about many different r packages that return same error after R 3.5. but I cannot find a solution to this one. and it does not seem liek anyone has posted similar question on stackoverflow.
Can anyone give me some tips
Thx!
Use the same method I suggested for quantstrat package.
Tried Everying, Searched Everything, Issues installing Quantstrat package from Github
Let me know if it works.

errors when installing older dplyr package in R

Im a bit new to R and need to use/adapt someone else code in R.
My supervisor uses R version 3.2.2 with the dplyr package version 0.4.3 (to overcome errors and problems with the original code).
I tried to install the older dplyr package with different methods:
- installed devtools package and then used the url devtools::install_url("http://cran.r-project.org/src/contrib/Archive/dplyr/dplyr_0.1.2.tar.gz")
- manual installation (where I downloaded the file and tried to install it.) Installation seemed to have worked but when I run the code it gives a fatal error massage
Every way I've tried so far either gives a lot of error messages or a fatal error and shutdown.
When using help ?dplyr it gives a pop-up that there is an error. Does anybody have any other ideas to install this package?
Thanks!

Can't install any packages in R

Title says the core of it. I've been wanting to learn R and I thought that swirl sounded nice. I can't get swirl to install, so just as an experiment I tried another package. I get the same error message. I'm getting this in both R and R Studio.
My input and error message are here:
install.packages("swirl")
## package ‘swirl’ is available as a source package but not as a binary
## Warning message:
## package ‘swirl’ is not available (for R Under development)
The first time I tried it I did get to chose a CRAN mirror, but otherwise I've been just spinning my gears.
I'm on a Mac and running OS X Yosemite, I tried looking for any issues similar to this and I am stuck. Any help is appreciated.
It looks like you're using a bleeding edge version of R ("R Under development").
Downgrade to the latest stable version and you should be fine.

Resources