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.
Related
I cannot manage to get the car package to download on RStudio Workbench version R 4.1.1. I am attempting to use the stat_cor function and get the error that it could not find function stat_cor, and from looking things up online, I need to download the ggpubr package and when I download it, I get the error:
Error: package or namespace load failed for ‘ggpubr’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘car’
So my next step is to download car but I get another error from there essentially saying "Configuration failed for package 'nloptr'" and also "dependency 'nloptr' is not available for package 'lme4'" and lastly "dependency 'lme4' is not available for package 'car'". I tried installing nloptr and get the same error.
I am new with this, but if I want to use the stat_cor function I need ggpubr, and for ggpubr I need car to work right? Any help would be great.
install.packages("ggpubr")
install.packages("car")
library('ggplot2')
library('ggpubr')
library('car')
I have been having trouble with the r package "semPlot" successfully installing onto Rstudio 1.2.5033
Each time I have tried installing the semplot package I get the following error.
install.packages('semPlot')
library(semPlot)
Error: package or namespace load failed for ‘semPlot’ in
loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck =
vI[[j]]): there is no package called ‘data.table’
I have tried installing the package that is being called to not be there (in the above case 'data.table'), but I have done this 5 or 6 times and feeling like continuous this process is insanity.
Alternatively, is there any alternative to reviewing the path diagrams from SEM if the semPlot package (for the semPaths function) continues this process?
The problem seems to be with your installer not with semPlot. Try
install.packages('semPlot', dependencies = T)
would be helpful if you mention your OS
I'm quite new to R so I don't understand what this error message is telling me. When I try to load the car package I get this message :
Error: package or namespace load failed for ‘car’ in loadNamespace(j <- i[[1L]], c(lib.loc,.libPaths()), versionCheck = vI[[j]]):there is no package called ‘openxlsx’
I'm working on the R studio cloud on a Chromebook. I believe the version is 3.6.0.
I've also tried this code but with no avail :
install.packages("car",dependencies=TRUE)
I'm using R-3.3.3. I tried to install package tm using following commands
install.packages('tm',dependencies = TRUE)
library('tm')
But I'm getting error message
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘slam’
In addition: Warning message:
package ‘tm’ was built under R version 3.3.3
Error: package or namespace load failed for ‘tm’
I saw two solutions for same type of error here & dependency ‘slam’ is not available when installing TM package. I tried those two but I'm getting error message like
Installation failed: Could not find build tools necessary to build slam.
Kindly suggest me how to install tm package in R-3.3.3
I faced the same problem today, after testing many ways to solve it I could find the following command that can install the tm package, sorry I know it is very late but still useful.
require(devtools)
install_version("tm", version = "0.7-1", repos = "http://cran.us.r-project.org")
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.