Ubuntu 18.04 имеет проблемы с установкой пакета прогноза.
Версия R:
henry@henry-Z360-MFLGL:~$ R --version
R version 3.4.4 (2018-03-15) -- "Someone to Lean On"
Понятия не имею, что с ним не так:
> install.packages('forecast')
Installing package into ‘/home/henry/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
Warning: dependency ‘quadprog’ is not available
also installing the dependency ‘tseries’
trying URL 'https://cloud.r-project.org/src/contrib/tseries_0.10-46.tar.gz'
Content type 'application/x-gzip' length 164471 bytes (160 KB)
==================================================
downloaded 160 KB
trying URL 'https://cloud.r-project.org/src/contrib/forecast_8.7.tar.gz'
Content type 'application/x-gzip' length 909190 bytes (887 KB)
==================================================
downloaded 887 KB
ERROR: dependency ‘quadprog’ is not available for package ‘tseries’
* removing ‘/home/henry/R/x86_64-pc-linux-gnu-library/3.4/tseries’
ERROR: dependency ‘tseries’ is not available for package ‘forecast’
* removing ‘/home/henry/R/x86_64-pc-linux-gnu-library/3.4/forecast’
The downloaded source packages are in
‘/tmp/RtmpLRXSdv/downloaded_packages’
Warning messages:
1: In install.packages("forecast") :
installation of package ‘tseries’ had non-zero exit status
2: In install.packages("forecast") :
installation of package ‘forecast’ had non-zero exit status
I 'мы пробовали sudo -i R
и т. д., но у меня ничего не получалось.