Hello,
On a windows machine where Rtools is installed and works, i.e. I get:
require(devtools)
has_devel()
C:/R/R-3.0.2/bin/i386/R --vanilla CMD SHLIB foo.c
gcc -m32 -IC:/R/R-30~1.2/include -DNDEBUG
-IC:/R/R-3.0.2/library/Rcpp/include
-Id:/RCompile/CRANpkg/extralibs64/local/include
On 17 October 2013 at 09:04, rom...@r-enthusiasts.com wrote:
| On a windows machine where Rtools is installed and works, i.e. I get:
[...]
| sourceCpp does not manage to find the tools correctly:
[...]
| evalCpp( 1+1)
|
| Error in sourceCpp(code = code, env = env, rebuild = rebuild,
|
So I took this as an excuse to bring my win7 machine at work to R 3.0.* and
to update Rtools. And with everything current:
R version 3.0.2 (2013-09-25) -- Frisbee Sailing
Copyright (C) 2013 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free
I think the reason Dirk's configuration worked is that he added Rtools to
the path during installation. If Romain didn't do this, then sourceCpp goes
looking for Rtools 2.15 or 2.16 (the initial development version for R 3.0)
and doesn't find it. I just committed a change that includes R 3.0 and R
On 17 October 2013 at 10:49, JJ Allaire wrote:
| I think the reason Dirk's configuration worked is that he added Rtools to the
| path during installation. If Romain didn't do this, then sourceCpp goes
looking
Even system-wide. And I fix directories, so it is always
c:/opt/R-current
Dear rcpp-devel,
I have been working for some time on an R package to perform simulation and
inference for stochastic differential equations (SDEs). Due to a large
number of serial calculations, I have achieved a speed-up of several orders
of magnitude by writing most of the code in C++.
Thanks for posting. Just for the record, and just like the main R lists, we
prefer posts with full (correct) names and some sort of affiliation where
available.
You do know who you are dealing with when you get reply from me; it seems
polite to offer the same.
On 17 October 2013 at 15:23,