简体   繁体   中英

Error: Package or namespace load failed

I am getting the following error when I am loading a few libraries in R:

library(forecast) Error : object 'f_eval' is not exported by 'namespace:lazyeval' In addition: Warning message: package 'forecast' was built under R version 3.3.2 Error: package or namespace load failed for 'forecast'

library(tsoutliers) Error : object 'f_eval' is not exported by 'namespace:lazyeval' In addition: Warning message: package 'tsoutliers' was built under R version 3.3.2 Error: package or namespace load failed for 'tsoutliers'

I have tried reinstalling the packages but it didn't help. Also, I was able to use the forecast package previously but I started facing this error post the installation of tsoutliers package.

How can I resolve this issue?

This should do the job for you:

install.packages('lazyeval')

In the future, try and provide a bit more about your system and install, using the output from:

sessionInfo()

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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