Hi David,
I didn't have time to study this in detail but it smells like a tricky issue
one which has been discussed here. It has to do with whether
-- your argument vector is integer (x <- 1:20 or even x <- 1L:20L) or
numeric (seq(1.0, 20.0., by=1.0)
-- because you use a NumericVector
Hi David,
Interesting problem.
You'll find that if you change how you initialize your `res` vector,
you will sidestep this problem, eg. from this:
NumericVector res(x);
to:
NumericVector res(A.size());
Why? Because in your original instantiation, as you "save" your
results in `res`, y
Hi all
I'm new to Rcpp ... and C++, but I am keen to use it to speed up simple parts
of my R package and to learn more. I thought I had made a good start, but I
have encountered a strange problem. Now, this may well be due to my poor
knowledge of C++, but I can't find where the problem is and
On 15 February 2012 at 11:14, Patrick Burns wrote:
| Dirk is once again correct. The "missing R.dll"
| is a PATH problem.
|
| One way of solving it is to add the path to the
| R DLLs to the end of PATH. For instance adding:
|
| C:\Program Files\R\R-2.14.1\bin\i386
|
| Once I've arranged those
Dirk is once again correct. The "missing R.dll"
is a PATH problem.
One way of solving it is to add the path to the
R DLLs to the end of PATH. For instance adding:
C:\Program Files\R\R-2.14.1\bin\i386
Once I've arranged those DLLs to be visible, the
new problem is:
Fatal error: unable to open