lib unspecified & Error in loadNamespace

后端 未结 5 887
陌清茗
陌清茗 2020-11-27 17:20

I had everything working with R and RStudio, but then I moved the folders when cleaning up my computer directories & files. Now I\'m getting the error message below.

5条回答
  •  自闭症患者
    2020-11-27 18:00

    When you install the package using the RStudio package installer or directly from CRAN, it doesn't install the dependencies ("fracdiff", "Rcpp", "RcppArmadillo" and "colorspace") and hence, R keeps throwing the load namespace error. Installing the package through, automatically installs all the dependencies and solves this problem.

    install.packages("forecast",
                     repos = c("http://rstudio.org/_packages",
                               "http://cran.rstudio.com"))
    

提交回复
热议问题