[R-pkg-devel] 回复： [SUSPECTED SPAM] R 3.3.0 installing a package onWindows: gcc not found error
66292259 at qq.com
Fri Jun 10 03:08:27 CEST 2016
Highly appreciate your suggestion! It does work!
BTW, is there anyway to do this by setting some options in the command line window when installing the package?
------------------ ÔÊ¼ÓÊ¼þ ------------------
·¢¼þÈË: "Uwe Ligges";<ligges at statistik.tu-dortmund.de>;
·¢ËÍÊ±¼ä: 2016Äê6ÔÂ10ÈÕ(ÐÇÆÚÎå) ÉÏÎç6:32
ÊÕ¼þÈË: "Xiao Liu"<66292259 at qq.com>; "R-package-devel"<R-package-devel at r-project.org>;
Ö÷Ìâ: Re: [SUSPECTED SPAM] [R-pkg-devel] R 3.3.0 installing a package onWindows: gcc not found error
Please adapt your BINPREF variable in R/etc/$Arch/Makeconf files
appropriately to point to the coresponding compiler for each
architecture - this is new with the new toolchain we use with R >= 3.3.0.
On 09.06.2016 19:27, Xiao Liu wrote:
> Hi Folks,
> 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 version 220.127.116.119 installed on my computer's D: disk. And "d:\Rtools\bin;" and "d:\Rtools\mingw_64\bin;" are all in PATH. I also 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?
> [[alternative HTML version deleted]]
> R-package-devel at r-project.org mailing list
[[alternative HTML version deleted]]
More information about the R-package-devel