[prev in list] [next in list] [prev in thread] [next in thread]
List: r-help
Subject: Re: [R] R CMD build/install: wrong Rtools include path is passed to
From: Duncan Murdoch <murdoch.duncan () gmail ! com>
Date: 2010-12-21 12:19:37
Message-ID: 4D109B59.2060307 () gmail ! com
[Download RAW message or body]
Andy Zhu wrote:
> Hi:
>
> I am trying to build/install rparallel source package in win32 using Rtools/R
> CMD. However, R CMD build or install fails. The R CMD build output shows that
> the path of Rtools/MinGW/include is wrong in g++ -I. How can I pass/configure
> the correct include path to R CMD? Tried this in both R 2.12 and 2.11 with
> compatible Rtools and Miktex/chm helper. Neither succeeded.
>
> Note, the R/Rtools/MinGW setting works fine if the package doesn't have C/C++
> code. I was able to install my own R package which doesn't have C/C++ code.
I think your analysis is wrong. The path to Rtools/MinGW/include is not
explicitly set by R. You set the PATH to the compiler, and that include
directory is automatically set.
Duncan Murdoch
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic