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.