2017-02-21 45 views
-1

我想從artifactory安裝R包,我也需要進行身份驗證,但我不知道如何將憑據傳遞給R中的install.packages:如何從artifactory遠程回購和通過憑證安裝R包

下面是我試過,但它不工作,但是當我試圖用捲曲來查詢它的工作原理相同的文件:

install.packages(「掃帚」,回購=「HTTP:// user:pass @ artifactory-url:port/artifactory/cran /「,method = curl,verbose =」true「)

輸出:

警告:無法爲庫http://user:[email protected]:port/artifactory/cran/src/contrib訪問指數: 無法打開URL 'http://user:[email protected]:port/artifactory/cran/src/contrib/PACKAGES' 警告消息: 包 '掃帚' 不可用(對於R版本3.3.2)

回答