Я установил R-программу 3.3.3 в Debian Stretch. Однако я не могу установить Tidyverse в R.
Когда я установил R 3.5, у меня возникла другая проблема: Rstudio не запускался. Как решить эту проблему? Я делал это в течение нескольких дней, пожалуйста, помогите мне.
Моя актуальная версия
R version 3.3.3 (2017-03-06) -- "Another Canoe"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
Когда я установил Tidyverse
> install.packages("tidyverse")
Installing package into ‘/home/init5/R/x86_64-pc-linux-gnu-library/3.3’
(as ‘lib’ is unspecified)
also installing the dependency ‘reprex’
trying URL 'https://cran.rstudio.com/src/contrib/reprex_0.2.1.tar.gz'
Content type 'application/x-gzip' length 1029128 bytes (1005 KB)
==================================================
downloaded 1005 KB
trying URL 'https://cran.rstudio.com/src/contrib/tidyverse_1.2.1.tar.gz'
Content type 'application/x-gzip' length 61647 bytes (60 KB)
==================================================
downloaded 60 KB
* installing *source* package ‘reprex’ ...
** package ‘reprex’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/usr/local/lib/R/site-library/fs/libs/fs.so':
/usr/local/lib/R/site-library/fs/libs/fs.so: undefined symbol: R_ContinueUnwind
ERROR: lazy loading failed for package ‘reprex’
* removing ‘/home/init5/R/x86_64-pc-linux-gnu-library/3.3/reprex’
Warning in install.packages :
installation of package ‘reprex’ had non-zero exit status
ERROR: dependency ‘reprex’ is not available for package ‘tidyverse’
* removing ‘/home/init5/R/x86_64-pc-linux-gnu-library/3.3/tidyverse’
Warning in install.packages :
installation of package ‘tidyverse’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpUEkqMF/downloaded_packages’
Warning message:
In yaml::yaml.load_file(templateYaml) :
bytecode version mismatch; using eval`
Когда я установил репрекс это показывается
> install.packages ("reprex")
Installing package into ‘/home/init5/R/x86_64-pc-linux-gnu-library/3.3’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/src/contrib/reprex_0.2.1.tar.gz'
Content type 'application/x-gzip' length 1029128 bytes (1005 KB)
==================================================
downloaded 1005 KB
* installing *source* package ‘reprex’ ...
** package ‘reprex’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/usr/local/lib/R/site-library/fs/libs/fs.so':
/usr/local/lib/R/site-library/fs/libs/fs.so: undefined symbol: R_ContinueUnwind
ERROR: lazy loading failed for package ‘reprex’
* removing ‘/home/init5/R/x86_64-pc-linux-gnu-library/3.3/reprex’
Warning in install.packages :
installation of package ‘reprex’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpUEkqMF/downloaded_packages’