Actually, this is described in "R Installation and Administration".

Best,
Uwe Ligges


On 21.12.2010 05:51, Andy Zhu wrote:
Never mind.  Found the solution: the package coded the rtools path in
Makevars.win.  So I was able to compile (but have another problem though).  But
not sure if there is an environment name for rtools, maybe RTOOLS_HOME ...

Thanks.



----- Forwarded Message ----
From: Andy Zhu<andyzh...@yahoo.com>
Cc: r-help@r-project.org
Sent: Mon, December 20, 2010 11:33:31 PM
Subject: [R] R CMD build/install: wrong Rtools include path is passed to g++


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.



        [[alternative HTML version deleted]]

______________________________________________
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.

______________________________________________
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.

Reply via email to