gpt4 book ai didi

r - 在 R 中安装 RSelenium 时出错

转载 作者:行者123 更新时间:2023-12-04 11:00:26 25 4
gpt4 key购买 nike

当我尝试安装 RSelenium 时出现以下错误包裹。

install.packages("RSelenium")  
Installing package into ‘C:/Users/nshukla/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
Warning in install.packages :
dependency ‘binman’ is not available
also installing the dependencies ‘subprocess’, ‘semver’, ‘wdman’

There is a binary version available but the source version is later:
binary source needs_compilation
RSelenium 1.6.2 1.7.1 FALSE

Packages which are only available in source form, and may need compilation of C/C++/Fortran:
‘subprocess’ ‘semver’
These will not be installed
installing the source packages ‘wdman’, ‘RSelenium’

trying URL 'https://cran.rstudio.com/src/contrib/wdman_0.2.2.tar.gz'
Content type 'application/x-gzip' length 26342 bytes (25 KB)
downloaded 25 KB

trying URL 'https://cran.rstudio.com/src/contrib/RSelenium_1.7.1.tar.gz'
Content type 'application/x-gzip' length 4303990 bytes (4.1 MB)
downloaded 4.1 MB

ERROR: dependencies 'binman', 'subprocess', 'semver' are not available for package 'wdman'
* removing 'C:/Users/nshukla/Documents/R/win-library/3.2/wdman'
Warning in install.packages : running command
'"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -1
"C:\Users\nshukla\Documents\R\win-library\3.2"
C:\Users\nshukla\AppData\Local\Temp\RtmpuAuA2g/downloaded_packages/wdman_0.2.2.tar.gz'
had status 1

Warning in install.packages : installation of package
‘wdman’ had non-zero exit status ERROR: dependencies 'wdman', 'binman' are not available for package 'RSelenium'
* removing 'C:/Users/nshukla/Documents/R/win-library/3.2/RSelenium'

Warning in install.packages : running command
'"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l
"C:\Users\nshukla\Documents\R\win-library\3.2"
C:\Users\nshukla\AppData\Local\Temp\RtmpuAuA2g/downloaded_packages/RSelenium_1.7.1.tar.gz' had status 1

Warning in install.packages : installation of package ‘RSelenium’ had non-zero exit status

最佳答案

binman包进口semver解析语义版本字符串。这取决于 C++11。安装它需要 R >= 3.3.0 的版本。您需要升级您的 R 版本。

关于r - 在 R 中安装 RSelenium 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42440911/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com