小编Thi*_*llo的帖子

安装软件包时 Rcmd.exe 出现问题

从 github 安装软件包时出现以下错误:

> devtools::install_github("pmartinezarbizu/pairwiseAdonis/pairwiseAdonis")
Downloading GitHub repo pmartinezarbizu/pairwiseAdonis@HEAD
Erro: Failed to install 'pairwiseAdonis' from GitHub:
  System command 'Rcmd.exe' failed, exit status: -1, stdout + stderr empty
Run Code Online (Sandbox Code Playgroud)

使用 find_rtools,我收到以下消息(我正在阅读这些帖子,但无法解决我的问题:https://github.com/r-lib/devtools/issues/2031R CMD 检查不在 Rtools 中查找 gcc目录):

> find_rtools(T)
Scanning R CMD config CC...
cc_path:  
'' does not exist
Scanning path...
ls: C:\Rtools\bin\ls.exe 
gcc_path: C:\Rtools\mingw_64\bin\gcc.exe 
VERSION.txt
Rtools version 3.5.0.4 
Version: 3.5 
Found compatible gcc on path
[1] TRUE
Run Code Online (Sandbox Code Playgroud)

我正在使用 R v.3.6:

>     > session_info()
>     - Session info ------------------------------------------------------------------------------------- …
Run Code Online (Sandbox Code Playgroud)

windows gcc r package

9
推荐指数
1
解决办法
1万
查看次数

标签 统计

gcc ×1

package ×1

r ×1

windows ×1