Can't install RCurl package in R 3.3.2 - r

I am using Windows 10, 64 bit PC. I have R 3.3.2 installed on my system.
I have some work to do with the swirl package in R, so I installed it as well. But, while trying to loading "swirl" package in R library(swirl), system threw an error : package or namespace load failed for ‘swirl’ and a warning : Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘RCurl’.
I tried to install "RCurl" and it gave an error message : Packages which are only available in source form, and may need
compilation of C/C++/Fortran: ‘bitops’ ‘RCurl’
These will not be installed

Related

library (ecospat) problem with biomod2 version

When I try to load 'ecospat' I find this problem:
> library(ecospat)
Error: package or namespace load failed for ‘ecospat’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
namespace ‘biomod2’ 4.1-2 is being loaded, but < 4.0 is required
So I have tried to load a 'biomod2' 3.5.1 version, but I can't because it's not available for my version of R (4.2.1)
> install.packages("D:/Descargas/biomod2_3.5.1")
Installing package into ‘C:/Users/danie/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘D:/Descargas/biomod2_3.5.1’ 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
Someone could help me with this problem?
You can install the biomod2_3.5.1 package using the following code
install.packages("https://cran.r-project.org/src/contrib/Archive/biomod2/biomod2_3.5.1.tar.gz",
repo=NULL, type="source")

Trouble use library(agricolae)

I just updated the R version from 4.0.4 to 4.1.3.
I have successfully installed
install.packages("agricolae").
But, when I run the syntax
library(agricolae),
The output in RGUI shown:
Warning message: package ‘agricolae’ was built under R version 4.0.5.
Then, the output in RStudio shown:
Error: package or namespace load failed for ‘agricolae’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘magrittr’.
So, I tried to install the packages of "magrittr", but failed. The output in RStudio shown:
The system cannot find the path specified. make: \*\*\* \[pipe.o\] Error 1 ERROR: compilation failed for package 'magrittr'
* removing 'C:/Users/Anna/Documents/R/win-library/4.1/magrittr' Warning in install.packages : installation of package ‘magrittr’ had non-zero exit status\.
How can I install the package of agricolae?

Is there a solution for R giving an error message "error in loadnamespace" when installing a package?

When I attempt to open up the Tidyverse library after installing the package, the following error messages comes:
>library(tidyverse)
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘colorspace’
In addition: Warning message:
package ‘tidyverse’ was built under R version 3.6.3
I also tried to install the package color space using
install.packages("colorspace")
Exact same error messages shows as above. Please help!
p.sp. I installed Rtools40.
You can try install.packages("scales").
You can also check for the newest version using the update button in Rstudio.

Is there a way to install tidymodels in R Version 3.6.1?

I'm also currently running an older version of Rstudio (Version 1.1.463) as my mac is running El Capitan (not enough memory to update). When trying to install and run 'tidymodels' I receive:
Error: package or namespace load failed for ‘tidymodels’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘rstanarm’
I have then attempted to install 'rstanarm' and receive:
Package which is only available in source form, and may need compilation of
C/C++/Fortran: ‘rstanarm’
Do you want to attempt to install these from sources? (Yes/no/cancel)
Following any of these options is unsuccessful. Is it possible to use 'tidymodels' given my situation?

Installing package ez on mac error

Just installed R and RStudio on macbook pro running Yosemite. When I try to install the ez package, I get a number of error messages, whether I use the R package manager or the install.packages command.
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called 'quantreg'
Error: package or namespace load failed for 'ez'
I have no idea what to do.
Solved by using the package installer and installing quantreg from there. Apparently install.packages had trouble doing that.

Resources