在 Microsoft R Open 上安装软件包失败

2023-12-12

我在 R 上安装软件包时从未遇到过任何问题,但在 Microsoft R Open 上安装软件包时总是遇到问题。例如,我尝试安装 tidyverse。我收到了很多错误,如下所示:

> Warning in system(cmd) : error in running command ERROR: compilation
> failed for package ‘colorspace’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/colorspace’
> Warning in install.packages :   installation of package ‘colorspace’
> had non-zero exit status
> * installing *source* package ‘mnormt’ ...
> ** package ‘mnormt’ successfully unpacked and MD5 sums checked
> ** libs sh: 1: make: not found Warning in system(cmd) : error in running command ERROR: compilation failed for package ‘mnormt’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/mnormt’ Warning in install.packages :   installation of package ‘mnormt’ had
> non-zero exit status
> * installing *source* package ‘fansi’ ...
> ** package ‘fansi’ successfully unpacked and MD5 sums checked
> ** libs sh: 1: make: not found Warning in system(cmd) : error in running command ERROR: compilation failed for package ‘fansi’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/fansi’ Warning in install.packages :   installation of package ‘fansi’ had
> non-zero exit status
> * installing *source* package ‘utf8’ ...
> ** package ‘utf8’ successfully unpacked and MD5 sums checked
> ** libs sh: 1: make: not found Warning in system(cmd) : error in running command ERROR: compilation failed for package ‘utf8’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/utf8’ Warning in install.packages :   installation of package ‘utf8’ had
> non-zero exit status
> * installing *source* package ‘backports’ ...
> ** package ‘backports’ successfully unpacked and MD5 sums checked
> ** libs sh: 1: make: not found Warning in system(cmd) : error in running command ERROR: compilation failed for package ‘backports’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/backports’ Warning
> in install.packages :   installation of package ‘backports’ had
> non-zero exit status
> * installing *source* package ‘xfun’ ...
> ** package ‘xfun’ successfully unpacked and MD5 sums checked
> ** R
> ** inst
> ** byte-compile and prepare package for lazy loading
> ** help
> *** installing help indices
> ** building package indices
> ** installing vignettes
> ** testing if installed package can be loaded
> * DONE (xfun)
> * installing *source* package ‘glue’ ...
> ** package ‘glue’ successfully unpacked and MD5 sums checked
> ** libs sh: 1: make: not found Warning in system(cmd) : error in running command ERROR: compilation failed for package ‘glue’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/glue’ Warning in install.packages :   installation of package ‘glue’ had
> non-zero exit status
> * installing *source* package ‘Rcpp’ ...
> ** package ‘Rcpp’ successfully unpacked and MD5 sums checked
> ** libs sh: 1: make: not found Warning in system(cmd) : error in running command ERROR: compilation failed for package ‘Rcpp’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/Rcpp’ Warning in install.packages :   installation of package ‘Rcpp’ had
> non-zero exit status
> * installing *source* package ‘digest’ ...
> ** package ‘digest’ successfully unpacked and MD5 sums checked
> ** libs sh: 1: make: not found Warning in system(cmd) : error in running command ERROR: compilation failed for package ‘digest’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/digest’ Warning in install.packages :   installation of package ‘digest’ had
> non-zero exit status
> * installing *source* package ‘lazyeval’ ...
> ** package ‘lazyeval’ successfully unpacked and MD5 sums checked
> ** libs sh: 1: make: not found Warning in system(cmd) : error in running command ERROR: compilation failed for package ‘lazyeval’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/lazyeval’ Warning
> in install.packages :   installation of package ‘lazyeval’ had
> non-zero exit status
> * installing *source* package ‘mime’ ...
> ** package ‘mime’ successfully unpacked and MD5 sums checked
> ** libs sh: 1: make: not found Warning in system(cmd) : error in running command ERROR: compilation failed for package ‘mime’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/mime’ Warning in install.packages :   installation of package ‘mime’ had
> non-zero exit status
> * installing *source* package ‘openssl’ ...
> ** package ‘openssl’ successfully unpacked and MD5 sums checked /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make: not
> found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make:
> not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval:
> make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1:
> eval: make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config:
> 1: eval: make: not found
> /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make: not
> found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make:
> not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval:
> make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1:
> eval: make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config:
> 1: eval: make: not found
> /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make: not
> found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make:
> not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval:
> make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1:
> eval: make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config:
> 1: eval: make: not found
> /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make: not
> found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make:
> not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval:
> make: not found Using PKG_CFLAGS=   ------------------------- ANTICONF
> ERROR ---------------------------   Configuration failed because
> openssl was not found. Try installing:   * deb: libssl-dev (Debian,
> Ubuntu, etc)
> * rpm: openssl-devel (Fedora, CentOS, RHEL)
> * csw: libssl_dev (Solaris)
> * brew: [email protected] (Mac OSX) If openssl is already installed, check that 'pkg-config' is in your PATH and PKG_CONFIG_PATH contains a
> openssl.pc file. If pkg-config is unavailable you can set INCLUDE_DIR
> and LIB_DIR manually via:   R CMD INSTALL
> --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
> --------------------------------------------------------------------   ERROR: configuration failed for package ‘openssl’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/openssl’ Warning
> in install.packages :   installation of package ‘openssl’ had non-zero
> exit status
> * installing *source* package ‘clipr’ ...
> ** package ‘clipr’ successfully unpacked and MD5 sums checked
> ** R
> ** inst
> ** byte-compile and prepare package for lazy loading
> ** help
> *** installing help indices
> ** building package indices
> ** testing if installed package can be loaded
> * DONE (clipr)
> * installing *source* package ‘stringi’ ...
> ** package ‘stringi’ successfully unpacked and MD5 sums checked checking for R_HOME... /opt/microsoft/ropen/3.5.0/lib64/R checking for
> R... /opt/microsoft/ropen/3.5.0/lib64/R/bin/R checking for
> endianness... little checking for R >= 3.1.0 for C++11 use... yes
> checking for R < 3.4.0 for CXX1X flag use... no checking for cat...
> /bin/cat /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make:
> not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval:
> make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1:
> eval: make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config:
> 1: eval: make: not found
> /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make: not
> found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make:
> not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval:
> make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1:
> eval: make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config:
> 1: eval: make: not found
> /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make: not
> found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make:
> not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval:
> make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1:
> eval: make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config:
> 1: eval: make: not found
> /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make: not
> found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make:
> not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval:
> make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1:
> eval: make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config:
> 1: eval: make: not found
> /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make: not
> found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make:
> not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval:
> make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1:
> eval: make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config:
> 1: eval: make: not found
> /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make: not
> found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make:
> not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval:
> make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1:
> eval: make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config:
> 1: eval: make: not found
> /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make: not
> found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make:
> not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval:
> make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1:
> eval: make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config:
> 1: eval: make: not found
> /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make: not
> found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make:
> not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval:
> make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1:
> eval: make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config:
> 1: eval: make: not found
> /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make: not
> found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make:
> not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval:
> make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1:
> eval: make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config:
> 1: eval: make: not found
> /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make: not
> found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make:
> not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval:
> make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1:
> eval: make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config:
> 1: eval: make: not found
> /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make: not
> found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make:
> not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval:
> make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1:
> eval: make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config:
> 1: eval: make: not found
> /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make: not
> found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make:
> not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval:
> make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1:
> eval: make: not found /opt/microsoft/ropen/3.5.0/lib64/R/bin/config:
> 1: eval: make: not found
> /opt/microsoft/ropen/3.5.0/lib64/R/bin/config: 1: eval: make: not
> found checking for local ICUDT_DIR... icu61/data checking for gcc...
> no checking for cc... no checking for cl.exe... no configure: error:
> in `/tmp/RtmpO4zIl6/R.INSTALL1f4a655950bf/stringi': configure: error:
> no acceptable C compiler found in $PATH See `config.log' for more
> details ERROR: configuration failed for package ‘stringi’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/stringi’ Warning
> in install.packages :   installation of package ‘stringi’ had non-zero
> exit status
> * installing *source* package ‘yaml’ ...
> ** package ‘yaml’ successfully unpacked and MD5 sums checked
> ** libs sh: 1: make: not found Warning in system(cmd) : error in running command ERROR: compilation failed for package ‘yaml’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/yaml’ Warning in install.packages :   installation of package ‘yaml’ had
> non-zero exit status
> * installing *source* package ‘base64enc’ ...
> ** package ‘base64enc’ successfully unpacked and MD5 sums checked
> ** libs sh: 1: make: not found Warning in system(cmd) : error in running command ERROR: compilation failed for package ‘base64enc’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/base64enc’ Warning
> in install.packages :   installation of package ‘base64enc’ had
> non-zero exit status
> * installing *source* package ‘rlang’ ...
> ** package ‘rlang’ successfully unpacked and MD5 sums checked
> ** libs sh: 1: make: not found Warning in system(cmd) : error in running command ERROR: compilation failed for package ‘rlang’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/rlang’ Warning in install.packages :   installation of package ‘rlang’ had
> non-zero exit status ERROR: dependencies ‘digest’, ‘rlang’ are not
> available for package ‘testthat’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/testthat’ Warning
> in install.packages :   installation of package ‘testthat’ had
> non-zero exit status ERROR: dependency ‘colorspace’ is not available
> for package ‘munsell’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/munsell’ Warning
> in install.packages :   installation of package ‘munsell’ had non-zero
> exit status ERROR: dependency ‘Rcpp’ is not available for package
> ‘plyr’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/plyr’ Warning in install.packages :   installation of package ‘plyr’ had
> non-zero exit status ERROR: dependency ‘mnormt’ is not available for
> package ‘psych’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/psych’ Warning in install.packages :   installation of package ‘psych’ had
> non-zero exit status ERROR: dependency ‘Rcpp’ is not available for
> package ‘bindrcpp’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/bindrcpp’ Warning
> in install.packages :   installation of package ‘bindrcpp’ had
> non-zero exit status ERROR: dependencies ‘fansi’, ‘rlang’, ‘utf8’ are
> not available for package ‘pillar’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/pillar’ Warning in install.packages :   installation of package ‘pillar’ had
> non-zero exit status ERROR: dependency ‘mime’ is not available for
> package ‘markdown’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/markdown’ Warning
> in install.packages :   installation of package ‘markdown’ had
> non-zero exit status ERROR: dependencies ‘digest’, ‘Rcpp’ are not
> available for package ‘htmltools’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/htmltools’ Warning
> in install.packages :   installation of package ‘htmltools’ had
> non-zero exit status ERROR: dependency ‘backports’ is not available
> for package ‘rprojroot’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/rprojroot’ Warning
> in install.packages :   installation of package ‘rprojroot’ had
> non-zero exit status
> * installing *source* package ‘tinytex’ ...
> ** package ‘tinytex’ successfully unpacked and MD5 sums checked
> ** R
> ** byte-compile and prepare package for lazy loading
> ** help
> *** installing help indices
> ** building package indices
> ** testing if installed package can be loaded
> * DONE (tinytex) ERROR: dependency ‘rlang’ is not available for package ‘hms’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/hms’ Warning in install.packages :   installation of package ‘hms’ had
> non-zero exit status ERROR: dependencies ‘mime’, ‘openssl’ are not
> available for package ‘httr’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/httr’ Warning in install.packages :   installation of package ‘httr’ had
> non-zero exit status ERROR: dependencies ‘glue’, ‘stringi’ are not
> available for package ‘stringr’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/stringr’ Warning
> in install.packages :   installation of package ‘stringr’ had non-zero
> exit status ERROR: dependency ‘Rcpp’ is not available for package
> ‘xml2’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/xml2’ Warning in install.packages :   installation of package ‘xml2’ had
> non-zero exit status ERROR: dependency ‘testthat’ is not available for
> package ‘processx’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/processx’ Warning
> in install.packages :   installation of package ‘processx’ had
> non-zero exit status ERROR: dependencies ‘plyr’, ‘Rcpp’, ‘stringr’ are
> not available for package ‘reshape2’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/reshape2’ Warning
> in install.packages :   installation of package ‘reshape2’ had
> non-zero exit status ERROR: dependencies ‘plyr’, ‘munsell’, ‘Rcpp’ are
> not available for package ‘scales’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/scales’ Warning in install.packages :   installation of package ‘scales’ had
> non-zero exit status ERROR: dependency ‘stringr’ is not available for
> package ‘selectr’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/selectr’ Warning
> in install.packages :   installation of package ‘selectr’ had non-zero
> exit status ERROR: dependency ‘stringr’ is not available for package
> ‘evaluate’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/evaluate’ Warning
> in install.packages :   installation of package ‘evaluate’ had
> non-zero exit status ERROR: dependencies ‘stringr’, ‘Rcpp’ are not
> available for package ‘lubridate’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/lubridate’ Warning
> in install.packages :   installation of package ‘lubridate’ had
> non-zero exit status ERROR: dependencies ‘pillar’, ‘rlang’ are not
> available for package ‘tibble’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/tibble’ Warning in install.packages :   installation of package ‘tibble’ had
> non-zero exit status ERROR: dependency ‘tibble’ is not available for
> package ‘cellranger’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/cellranger’
> Warning in install.packages :   installation of package ‘cellranger’
> had non-zero exit status ERROR: dependency ‘processx’ is not available
> for package ‘callr’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/callr’ Warning in install.packages :   installation of package ‘callr’ had
> non-zero exit status ERROR: dependencies ‘rlang’, ‘tibble’ are not
> available for package ‘forcats’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/forcats’ Warning
> in install.packages :   installation of package ‘forcats’ had non-zero
> exit status ERROR: dependencies ‘digest’, ‘lazyeval’, ‘plyr’,
> ‘reshape2’, ‘rlang’, ‘scales’, ‘tibble’ are not available for package
> ‘ggplot2’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/ggplot2’ Warning
> in install.packages :   installation of package ‘ggplot2’ had non-zero
> exit status ERROR: dependencies ‘rlang’, ‘tibble’ are not available
> for package ‘purrr’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/purrr’ Warning in install.packages :   installation of package ‘purrr’ had
> non-zero exit status ERROR: dependencies ‘Rcpp’, ‘tibble’, ‘hms’ are
> not available for package ‘readr’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/readr’ Warning in install.packages :   installation of package ‘readr’ had
> non-zero exit status ERROR: dependencies ‘xml2’, ‘httr’, ‘selectr’ are
> not available for package ‘rvest’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/rvest’ Warning in install.packages :   installation of package ‘rvest’ had
> non-zero exit status ERROR: dependencies ‘Rcpp’, ‘tibble’, ‘hms’ are
> not available for package ‘feather’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/feather’ Warning
> in install.packages :   installation of package ‘feather’ had non-zero
> exit status ERROR: dependencies ‘evaluate’, ‘markdown’, ‘stringr’,
> ‘yaml’ are not available for package ‘knitr’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/knitr’ Warning in install.packages :   installation of package ‘knitr’ had
> non-zero exit status ERROR: dependencies ‘glue’, ‘purrr’, ‘rlang’,
> ‘Rcpp’ are not available for package ‘tidyselect’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/tidyselect’
> Warning in install.packages :   installation of package ‘tidyselect’
> had non-zero exit status ERROR: dependencies ‘forcats’, ‘hms’, ‘Rcpp’,
> ‘readr’, ‘tibble’ are not available for package ‘haven’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/haven’ Warning in install.packages :   installation of package ‘haven’ had
> non-zero exit status ERROR: dependencies ‘cellranger’, ‘Rcpp’,
> ‘tibble’ are not available for package ‘readxl’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/readxl’ Warning in install.packages :   installation of package ‘readxl’ had
> non-zero exit status ERROR: dependencies ‘knitr’, ‘yaml’, ‘htmltools’,
> ‘evaluate’, ‘base64enc’, ‘rprojroot’, ‘mime’, ‘stringr’ are not
> available for package ‘rmarkdown’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/rmarkdown’ Warning
> in install.packages :   installation of package ‘rmarkdown’ had
> non-zero exit status ERROR: dependencies ‘bindrcpp’, ‘glue’, ‘Rcpp’,
> ‘rlang’, ‘tibble’, ‘tidyselect’ are not available for package ‘dplyr’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/dplyr’ Warning in install.packages :   installation of package ‘dplyr’ had
> non-zero exit status ERROR: dependencies ‘callr’, ‘rlang’, ‘rmarkdown’
> are not available for package ‘reprex’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/reprex’ Warning in install.packages :   installation of package ‘reprex’ had
> non-zero exit status ERROR: dependencies ‘dplyr’, ‘glue’, ‘purrr’,
> ‘rlang’, ‘tibble’, ‘tidyselect’ are not available for package ‘dbplyr’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/dbplyr’ Warning in install.packages :   installation of package ‘dbplyr’ had
> non-zero exit status ERROR: dependencies ‘dplyr’, ‘glue’, ‘purrr’,
> ‘Rcpp’, ‘rlang’, ‘stringi’, ‘tibble’, ‘tidyselect’ are not available
> for package ‘tidyr’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/tidyr’ Warning in install.packages :   installation of package ‘tidyr’ had
> non-zero exit status ERROR: dependencies ‘dplyr’, ‘plyr’, ‘psych’,
> ‘reshape2’, ‘stringr’, ‘tidyr’ are not available for package ‘broom’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/broom’ Warning in install.packages :   installation of package ‘broom’ had
> non-zero exit status ERROR: dependencies ‘broom’, ‘dplyr’, ‘purrr’,
> ‘tibble’, ‘tidyr’, ‘rlang’ are not available for package ‘modelr’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/modelr’ Warning in install.packages :   installation of package ‘modelr’ had
> non-zero exit status ERROR: dependencies ‘broom’, ‘dplyr’, ‘dbplyr’,
> ‘forcats’, ‘ggplot2’, ‘haven’, ‘hms’, ‘httr’, ‘lubridate’, ‘modelr’,
> ‘purrr’, ‘readr’, ‘readxl’, ‘reprex’, ‘rlang’, ‘rvest’, ‘stringr’,
> ‘tibble’, ‘tidyr’, ‘xml2’ are not available for package ‘tidyverse’
> * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/tidyverse’ Warning
> in install.packages :   installation of package ‘tidyverse’ had
> non-zero exit status
> 
> The downloaded source packages are in
> ‘/tmp/RtmpDGk37A/downloaded_packages’

过去,我的解决方案是放弃并继续使用常规 R,但我想尝试利用 MRO 的多线程。

再次,使用简单的install.packages("tidyverse")命令在 R 中有效。在 MRO 中我必须做哪些不同的事情?


这些错误告诉您您没有必要的工具(make, gcc) 用于在 Linux 中构建 R 包

libs sh: 1: make: not found 
...
no acceptable C compiler found in $PATH

您需要安装r-base-dev得到那些

sudo apt-get install r-base-dev

查看更多:

  • https://cran.r-project.org/bin/linux/ubuntu/README.html
  • https://packages.debian.org/sid/r-base-dev
  • Linux 中的 R 包安装
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

在 Microsoft R Open 上安装软件包失败 的相关文章

随机推荐

  • 当绑定发生在另一个函数中时,Sqlite _only_ 找不到行

    所以我自己写了一个小包装函数来为我准备一个声明 sqlite3 stmt Gladiateur run query unfinalized string query vector
  • WPF,使用 XAML 中的 XPath 和 XmlDataProvider 根据 ComboBox 中选定的值选择节点

    这个问题与我的上一个问题但更具体 假设我有两个组合框 一个填充了产品名称 另一个为空 选择产品后 我希望第二个组合框填充与该产品相关的数据 我有如下 XML
  • Microsoft Office OneNote C++ API?

    我正在考虑通过 C 编程修改 Microsoft Office OneNote 内容 具体在使用快速归档对话框界面 但是那里提供的所有示例都是针对C 的 我想知道C 的API是否可用 如果有的话我可以从哪里开始学习它们 我只是想使用该对话框
  • Angular 5测试组件静态方法

    我正在测试的 Component 类上有一个静态方法 我的问题是如何在我的规范测试文件中访问该方法 到目前为止 我可以通过以下方式访问组件实例 let fixture TestBed createComponent MyComponent
  • 如何执行递归搜索?

    我有一个任务类 它可以有相同类型的子任务 public class Task public DateTime Start get set public DateTime Finish get set public List
  • 我对套接字的 fwrite 不会刷新,直到套接字关闭。如何改变?

    我对套接字的 fwrite 不会刷新 直到套接字关闭 如何改变 我希望它在每次写入后刷新 我试过了 1 冲洗 2 刷新 3 ob implicit flush 真 这些都不起作用 我仍然必须退出 php 让我的套接字接收数据 包括一些示例代
  • Rails:如何使用范围在数组数组中查找元素

    我有一个数组数组 例如 2 3 3 1 6 1 每个子数组的第一个元素是用户 ID 第二个元素是用户为活动预订的座位数 我想让每个用户通过在数组中查找他的 ID 来查看他的预订 假设我有两个模型 用户和事件 在用户控制器中 我想使用类似的范
  • 唯一标识调试器中的引用类型

    我有 C 背景 如果这是非 C 的思维方式 我很抱歉 但我只需要知道 在 C 中 如果我有两个指针 并且我想知道它们是否指向同一对象 我可以查看内存 监视窗口并查看它们的值 看看它们是否指向相同的内存空间 在 C 中 我还没有找到类似的东西
  • Silverlight 中的对象深复制

    我试图创建对象的副本银光5其中 IFormatters 和 IcCloanble 等接口不支持 我的对象是这样的 注意这些对象是在反序列化xml时获得的 我尝试像这样复制 XmlRoot ElementName component publ
  • 如何更改每个选项卡的颜色?

    我有一个表单 上面有四个选项卡 我希望每个选项卡具有不同的颜色 我在互联网上找到的唯一内容是如何更改所选选项卡的颜色 而其余选项卡保持原始颜色 我还没有找到任何东西可以为每个选项卡赋予自己的颜色 我目前拥有的代码是 Private Sub
  • 通过谷歌脚本更改表单调色板

    我需要帮助 我正在使用 Google 应用程序脚本来创建 Google 表单 如何更改表单的颜色 调色板 我试图在这里找到https developers google com apps script reference forms 但什么
  • 如何使用 Xamarin Forms 创建具有垂直粘性标题和水平粘性第一列的表格?

    在显示表格数据时 我认为在某些情况下 具有始终可见的标题行和始终可见的第一列确实可以提高表格的可读性和整体可用性 特别是当表格中有大量数据时 当表格必须支持水平和垂直滚动时 就会出现问题 在查看过去比赛的得分时 可以从 NBA 应用程序中找
  • 整数线性编程 Java:有多种开源和商业工具可用。使用哪一个?

    我需要为我的应用程序使用整数线性编程 API 工具 虽然我的应用程序是用 Java 编写的 但我不介意从 Java 调用 EXE 工具 使用文件 MPS 等 提供输入 我的搜索分析如下 有多种开源和商业工具可用于解决 ILP 以下问题 我发
  • 如何在Python中获取函数的实际参数名称?

    例如 def func a how to get the name x x 1 func x 如果我使用inspect模块我可以获得堆栈帧对象 import inspect def func a print inspect stack ou
  • WPF - 如何以编程方式备份​​/恢复 LocalDB - ClickOnce

    我有一个使用 EF 和 LocalDB 作为数据库的应用程序 由 ClickOnce 发布 这是我第一次使用 LocalDB 我不知道如何向我的应用程序添加一个功能来以编程方式备份 恢复数据库 我的 ClickOnce 安装的应用程序路径
  • 使用 UITextPosition,从 textInRange 获取前一个字符

    我一直在寻找 但不知道如何做到这一点 假设我有一个这样的字符串 NSString string foo foo 我想做的是区分文本视图中的两个 foo 听起来很有趣哈哈 当我单击一个时 我想知道它前面是哪个 或 我是这样理解这个词的 UIT
  • PBKDF2 Excel UDF 以及如何连接 INT(i)

    最近 我一直在深入研究密码学 并在 Excel 中使用哈希和加密函数 我可能会在我正在从事的项目中使用这些函数 我使用简单的哈希函数 例如 Function Hash ByVal plainText As String Dim utf8En
  • 如何从另一个observeEvent访问数据帧?

    一个例子 UI R library shiny shinyUI fluidPage titlePanel Example sidebarLayout sidebarPanel radioButtons orderdata Sort by c
  • 如何在 Ruby 1.9 中调试 require

    根据the Tin Man的意见 我提出一个新问题 原来的问题在这里 Rubygem 如何需要所有宝石 我用来调试的原始代码 require debugger debugger require thor 这是一个两难的境地 使用默认值进行调
  • 在 Microsoft R Open 上安装软件包失败

    我在 R 上安装软件包时从未遇到过任何问题 但在 Microsoft R Open 上安装软件包时总是遇到问题 例如 我尝试安装 tidyverse 我收到了很多错误 如下所示 gt Warning in system cmd error