相关疑难解决方法(0)

无法从 Github 安装 R 包

我正在尝试运行,devtools::install_github("gaborcsardi/notifier")但 R 似乎无法正确识别 RTools;位于C:\Rtools.

按照https://github.com/r-lib/devtools/issues/1772上的说明操作后,pkgbuild::find_rtools()使用devtoolsand的 CRAN 版本运行仍然给我以下错误pkgbuild

Error in rethrow_call(c_processx_exec, command, c(command, args), stdin, : Command not found @win/processx.c:977

这是我的session_info()

- Session info ----------------------------------------------------------------------------------------------------------
 setting  value                       
 version  R version 3.5.2 (2018-12-20)
 os       Windows 10 x64              
 system   x86_64, mingw32             
 ui       RStudio                     
 language (EN)                        
 collate  English_United States.1252  
 ctype    English_United States.1252  
 tz       America/Chicago             
 date     2019-09-03                  

- Packages --------------------------------------------------------------------------------------------------------------
 ! package         * version   date       lib source        
   assertthat        0.2.1     2019-03-21 [1] …
Run Code Online (Sandbox Code Playgroud)

r

7
推荐指数
1
解决办法
3153
查看次数

R包安装时间长 - 源代码或二进制类型

stringi我正在尝试使用以下命令安装一个名为的包

\n

install.packages("stringi")

\n

虽然它没有抛出任何错误消息,但安装尚未结束。

\n

我在控制台屏幕上看到很多消息,该屏幕持续运行超过 45 分钟

\n
> install.packages("stringi")\nInstalling package into \xe2\x80\x98C:/Users/Aks/Documents/R/win-library/3.6\xe2\x80\x99\n(as \xe2\x80\x98lib\xe2\x80\x99 is unspecified)\n\n  There is a binary version available but the source version is later:\n        binary source needs_compilation\nstringi  1.4.6  1.5.3              TRUE\n\ninstalling the source package \xe2\x80\x98stringi\xe2\x80\x99\n\ntrying URL 'http://mirror.las.iastate.edu/CRAN/src/contrib/stringi_1.5.3.tar.gz'\nContent type 'application/x-gzip' length 7293930 bytes (7.0 MB)\ndownloaded 7.0 MB\n\n* installing *source* package 'stringi' ...\n** package 'stringi' successfully unpacked and MD5 sums checked\n** using staged installation\n** libs\n\n*** arch - i386\nC:/Rtools/mingw_32/bin/g++  -std=gnu++11 -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -I. -Iicu61/ -Iicu61/unicode -Iicu61/common -Iicu61/i18n …
Run Code Online (Sandbox Code Playgroud)

installation r stringr stringi r-package

7
推荐指数
1
解决办法
3884
查看次数

标签 统计

r ×2

installation ×1

r-package ×1

stringi ×1

stringr ×1