简体   繁体   English

在R Studio中安装Forecast软件包时出错

[英]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 我正在尝试在R Studio(版本1.0153)中安装预测包,当我尝试使用library(forecast)调用该包时,出现此错误

"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'" “错误:在loadNamespace(j <-i [[1L]],c(lib.loc,.libPaths()),versionCheck = vI [[j]])中,'包'的包或名称空间加载失败。名为“ tibble”的程序包”

While installing the forecasting package i used the command install.packages("forecast",dep=T) . 在安装预测软件包时,我使用了命令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. 注意我也在控制台中使用R 3.4。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM