问题描述
我试图在Windows下安装一个包含一些C代码的R包。我安装了R 3.3.0,并且还在我的计算机的D:磁盘上安装了Rtools 3.3.0。
和 d:\Rtools\bin
和 d:\Rtools\\ \\\\\\\\\\\\\\'我在命令窗口中检查了gcc命令,它正在工作。
但是当我安装包时,它总是试图使用 c:/ Rtools / mingw_64 / bin / gcc
,它应该在 d:
磁盘中,然后它给出 c:/ Rtools / mingw_64 / bin / gcc:找不到
错误。
任何人都可以帮忙解决这个问题吗?
谢谢!
好的,我发送了一封电子邮件给R-package-devel组。
$ b
I am trying to install an R package which contains some C code under Windows. I have R 3.3.0 installed and also Rtools 3.3.0 installed on my computer's D: disk.
And d:\Rtools\bin
and d:\Rtools\mingw_64\bin
are all in PATH. I checked gcc command under command window, and it is working.
But when I am installing the package, it always trying to use c:/Rtools/mingw_64/bin/gcc
, which should be in d:
disk, then it gives c:/Rtools/mingw_64/bin/gcc: not found
error.
Can anyone help on this issue?
Thanks!
OK, I sent an email to the R-package-devel group regarding to this issue. And the following is the reply, and it does work!
这篇关于R 3.3.0在Windows上安装软件包:找不到gcc错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!