Problems installing the devtools package

后端 未结 15 2090
耶瑟儿~
耶瑟儿~ 2020-11-29 15:32

I wish to use the devtools package. I\'ve run the following commands:

> install.packages(\"devtools\", dependencies = TRUE)
....
> library         


        
15条回答
  •  渐次进展
    2020-11-29 16:00

    None of the above answers worked for me on Ubuntu 18.04.3 LTS using R version 3.6.1

    My guess is this might have something to do with Anaconda3...

    What worked for me is:

    conda install -c r r-devtools 
    

    Then in R

    install.packages("rlang")
    install.packages("devtools")
    

    sessionInfo()

    R version 3.6.1 (2019-07-05)
    Platform: x86_64-conda_cos6-linux-gnu (64-bit)
    Running under: Ubuntu 18.04.3 LTS
    
    Matrix products: default
    BLAS/LAPACK: /home/tsundoku/anaconda3/lib/R/lib/libRblas.so
    
    locale:
     [1] LC_CTYPE=en_CA.UTF-8       LC_NUMERIC=C              
     [3] LC_TIME=en_CA.UTF-8        LC_COLLATE=en_CA.UTF-8    
     [5] LC_MONETARY=en_CA.UTF-8    LC_MESSAGES=en_CA.UTF-8   
     [7] LC_PAPER=en_CA.UTF-8       LC_NAME=C                 
     [9] LC_ADDRESS=C               LC_TELEPHONE=C            
    [11] LC_MEASUREMENT=en_CA.UTF-8 LC_IDENTIFICATION=C       
    
    attached base packages:
    [1] stats     graphics  grDevices utils     datasets  methods   base     
    
    loaded via a namespace (and not attached):
    [1] compiler_3.6.1 tools_3.6.1    tcltk_3.6.1   
    

提交回复
热议问题