gpt4 book ai didi

r - stringr 不会安装在 R 中

转载 作者:行者123 更新时间:2023-12-05 05:17:43 24 4
gpt4 key购买 nike

我在安装 stringr 时遇到问题。这是我请求安装 stringr 时得到的结果:

utils:::menuInstallPkgs()
also installing the dependency ‘stringi’

There are binary versions available but the source versions are later:

binary source needs_compilation

stringi 1.1.5 1.1.6 TRUE

stringr 1.2.0 1.3.0 FALSE

Binaries will be installed
trying URL 'https://ftp.ussg.iu.edu/CRAN/bin/windows/contrib/3.2/stringi_1.1.5.zip'

Content type 'application/zip' length 14220135 bytes (13.6 MB)
downloaded 13.6 MB

package ‘stringi’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\AppData\Local\Temp\3\RtmpsjXf2p\downloaded_packages
installing the source package ‘stringr’


trying URL 'https://ftp.ussg.iu.edu/CRAN/src/contrib/stringr_1.3.0.tar.gz'
Content type 'application/x-gzip' length 118333 bytes (115 KB)
downloaded 115 KB

* installing *source* package 'stringr' ...
** package 'stringr' successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace 'stringi' 1.1.5 is being loaded, but >= 1.1.6 is required
ERROR: lazy loading failed for package 'stringr'
* removing 'C:/Users/Documents/R/win-library/3.2/stringr'

Thank you for any help you might provide.

最佳答案

R 社区一般doesn't support old versions . 3.2 系列的最后一个版本大约是两年前发布的。建议更新到最新的稳定版本。

关于r - stringr 不会安装在 R 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48894616/

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