Message-ID: <19889.61381.867087.707193@max.nulle.part>
Date: 2011-04-22T21:14:45Z
From: Dirk Eddelbuettel
Subject: [Rcpp-devel] RInside makefile on Windows
In-Reply-To: <020301cc0130$4e8e0510$ebaa0f30$@iastate.edu>
On 22 April 2011 at 16:00, Nathan Johnson wrote:
| I tried cmd.exe and the Msys shell.
|
| Even if I hardcode each line, such as:
| RCPPFLAGS := C:/Program Files/R/R-2.12.2/bin/R CMD config
| --cppflags
| or
| RCPPFLAGS := C:/ PROGRA~1/R/R-2.12.2/bin/R CMD config --cppflags
(No space though, right?)
| or
| with $(...) included on each, the same errors still occur with "/bin/R" not
| found
First principles then. Add a new target 'testThis' at the top of the
Makefile.win and make it
testThis:
C:/Program Files/R/R-2.12.2/bin/R --version
or
testThis:
C:/Program Files/R/R-2.12.2/bin/R.exe --version
If you have R.exe in that location, and your $PATH is correct, then this
should query R for its version.
If that works, adapt the rest of the Makefile accordingly. If that doesn't
work then I am not quite sure what else to suggest.
Dirk
--
Gauss has an Erdos number of -1.
-- #63 at http://www.gaussfacts.com