Install R forecast package

Attempted to install forecast package in R 3.2 version, on Ubuntu 16.04 LTS Xenial Xerus:

but when installing dependent packages tseries, quadprod, RcppArmadillo, it produced an error:
/usr/bin/ld: cannot find -lblas, cannot find -llalapack

Solution: install these libs in linux terminal:

and  install.packages("forecast") will work in R console

Leave a Reply

Your email address will not be published.