简体   繁体   中英

Forecast package not working on Databricks (R-version 3.5.2)

I installed the 'forecast' package in a Databricks environment a few days back. It was working fine until this morning when I restarted the cluster. Now, I can't install the package anymore. Could someone help with this?

Have already tried upgrading the current R version (3.5.2) to the latest (3.6.0). That would require upgrading the current Ubuntu version too, which I don't think is possible, since that is the version Databricks is linked to. If there's a way to upgrade the Ubuntu version as well, do let me know.

Here's a screenshot of the error:

FROM THE SCREENSHOT, The 'quadprog' latest version 1.5-5 supports only >= R-3.6 version as yours is R-3.5.2, I would suggest you to download old binaries from CRAN for quadprog and install (refer Install previous versions of R on ubuntu )

After installing quadprog, go for the other packages installation. If same error persists, please repeat above step for that packages too:)

If you are trying this operation through R Console, you can use

packageurl <- "https://cran.r-project.org/src/contrib/Archive/quadprog/quadprog_1.5-4.tar.gz"
install.packages(packageurl, repos=NULL, type="source")

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