[英]Installing R `forecast` package on a Linux Cluster: compiler issues?
[英]Issues installing “forecast” package in R
我正在嘗試通過以下方式在 R 中安裝預測包: install.packages('forecast')
,但這不起作用。
結果:
There is a binary version available but the source version is later:
binary source needs_compilation
forecast 8.2 8.3 TRUE
Do you want to install from sources the package which needs compilation?
不知道在這里回答什么,“是”或“否”。 如果我回答“否”,結果是:
trying URL 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.3/forecast_8.2.tgz'
Content type 'application/x-gzip' length 2204227 bytes (2.1 MB)
==================================================
downloaded 2.1 MB
tar: Failed to set default locale
The downloaded binary packages are in
/var/folders/qn/syx5z5tj4s5075wwmrrd3hbr0000gn/T//RtmpTBDqVs/downloaded_packages
如果我輸入“是”,則會安裝一些其他項目,並且我收到一條錯誤提示:
Warning in install.packages :
installation of package 'forecast' had non-zero exit status
不幸的是,我無法繼續使用此包提供的必要功能。 感謝您的任何建議。
我遇到了同樣的問題,更改主 CRAN 存儲庫對我有用 Tools > Global Options > Packages
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.