Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 905
ab90hi Avatar asked Jan 04 '23 19:01

ab90hi


1 Answers

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()
like image 162
Simon Avatar answered Jan 07 '23 08:01

Simon