cran

    0熱度

    1回答

    不知道發生了什麼,但我不能帶或不帶標誌安裝RGL: > install.packages("rgl", dependencies=TRUE) also installing the dependencies ‘mime’, ‘stringi’, ‘magrittr’, ‘bitops’, ‘evaluate’, ‘digest’, ‘formatR’, ‘highr’, ‘markdown’,

    1熱度

    1回答

    警告:無效的包 'RPostgreSQL_0.4.tar.gz' 錯誤:錯誤:沒有軟件包指定 警告消息: In install.packages("RPostgreSQL_0.4.tar.gz", lib = "/home/anirudh/Downloads/", : installation of package ‘RPostgreSQL_0.4.tar.gz’ had non-zer

    4熱度

    1回答

    希望這有一個簡單的答案,但我還沒有找到它。 我正在編寫一個R包,當它安裝在Windows上時,我希望它執行一個腳本來搜索系統文件,即list.files(path = "C:/Program Files/, ...),然後將該路徑作爲文本文件保存以供日後參考。 我試着將這個腳本保存爲src/install.libs.R,但是這阻止了我的軟件包被構建。 如果有替代解決方案,我試圖將路徑保存在駐留在程

    4熱度

    2回答

    我剛做了一個新的Ubuntu 14.04安裝並按照this link和this other one的指示安裝了R,選擇了伯克利鏡像就像我一直這樣做。 在Emacs的(+ ESS),我無法在所有安裝任何CRAN或Bioconductor的包裝,例如: install.packages("ggplot2") 或者: source("http://bioconductor.org/biocLite.

    2熱度

    2回答

    我在這個問題上摸不着頭腦。如何在家裏,在Ubuntu上重現 CRAN's gcc ubsan tests of my package的結果? (在準備步驟的指示來自here) 1)我安裝更新所有需要的軟件包: apt-get update apt-get install bash-completion bison debhelper default-jdk g++ gcc gfortran gr

    1熱度

    1回答

    This博客文章包含非常酷腳本運行docker容器內的R包CRAN測試。例如,這腳本運行的CRAN檢查上RcppAnnoy包: docker run --rm -ti -v $(pwd):/mnt rocker/r-devel-ubsan-clang check.r --setwd /mnt --install-deps RcppAnnoy_0.0.6.tar.gz 我的問題是簡單的:在該示例

    10熱度

    1回答

    將R從3.1.3升級到3.2.1後,我無法安裝來自CRAN的軟件包。 錯誤消息是無法加載共享對象internet.so。 install.packages("randomForest") Installing package into ‘/gs/project/feb-684-aa/BIF/R/R-3.2.1/library’ (as ‘lib’ is unspecified) --- Ple

    5熱度

    1回答

    轉到鏈接: https://cran.r-project.org/web/packages/epicalc/index.html 您將獲得消息: Package ‘epicalc’ was removed from the CRAN repository. Formerly available versions can be obtained from the archive. Archi

    1熱度

    1回答

    我是R新手,我已經花了一段時間在Web上的腳本示例,我碰到一個腳本,有一堆require(<package>)行。而不是寫install.packages(<package>),我修改劇本這樣: package_names <- c('caret', 'readr', 'xgboost', 'ggplot2', 'R.utils',

    1熱度

    1回答

    我們有內部本地的cran鏡像,它不需要使用http_proxy。 但是對於某些軟件包,存在從互聯網上下載的第三方依賴關係。示例stringi下載東西叫[1] 那麼如何說R到不使用代理獲取內部鏡像。 我試過下面,它不起作用。 Sys.setenv(http_proxy="http://proxydetails.com") Sys.setenv(https_proxy="http://proxyde