Installing package ez on mac error - r

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.

Related

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.

Error: package or namespace load failed for ‘tmap’

I am getting the error below when I am trying to run my shiny app which used to work properly; I did not get this error using the old version of my R/Rstudio. Currently, I am using Version 1.1.463 of Rstudio, and R version 4.0.3.
Thanks,
Nader
Error: package or namespace load failed for ‘tmap’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘raster’
The problem was with installing the ratser. When the question below prompted during the installation, I answered no instead of yes, and this solved the issue. Thanks.
Do you want to install from sources the package which needs compilation? (Yes/no/cancel)

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?

Error Installing Forecast package in R Studio

I am trying to install the forecast package in R Studio ( Version 1.0153) and when i try to call the package using library(forecast) i get this error
"Error: package or namespace load failed for ‘forecast’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘tibble’"
While installing the forecasting package i used the command install.packages("forecast",dep=T). This is the first time i am encountering a problem when trying to install a package.
I did so using this command in the console and the package was successfully installed.
install.packages('forecast')
When using
install.packages("forecast",dep=T)
I also received the same error as you. So will the other line do the trick?
Note I am using R 3.4 as well in the console.

Can't install RCurl package in R 3.3.2

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

Resources