Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

問題

當您嘗試安裝 Linux 上的 R 封裝會得到下列錯誤訊息︰

「 警告︰ 無法存取索引的存放庫-http://www.revolutionanalytics.com./repositories/cran/2.15/stable/s..."

方案

若要編輯的檔案是這個問題的解決方法︰
/usr/lib64/Revo-6.2/R-2.15.3/lib64/R/etc/Rprofile.site

並變更行︰ r <-c (REVO = Revobase::getRevoRepos())

在這段指令碼︰

如果 (。Platform$OS.type = = 「 視窗 」) {
r["CRAN"] <- Revobase::getRevoRepos(CRANmirror=TRUE) 
} 其他 {
r <-c (REVO = Revobase::getRevoRepos())
}

若要︰

r <-c (REVO ="http://packages.revolutionanalytics.com/cran/2.15/stable")

然後您必須重新啟動,變更才會生效的革命 R 企業。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×