Re: [Rcpp-devel] Unable to load shared object

2013-07-10 Thread Krzysztof Sakrejda
On Wed, Jul 10, 2013 at 2:18 PM, Jules Archer wrote: > | However, when I try to compile as an R package, I keep getting the > following > | error: > | > | ** building package indices > | ** testing if installed package can be loaded > | Error in dyn.load(file, DLLpath = DLLpath, ...) : > | unabl

[Rcpp-devel] Unable to load shared object

2013-07-10 Thread Jules Archer
Dirk, Thank you for your fast reply! With regard to your specific suggestions: |Two suggestions.  First, try creating a simple package without MathGL just to |make sure you have that process of going from sourceCpp via compileAttributes |to a package licked.   Yes, I did successfully create a s

[Rcpp-devel] copying or not when convering to arma

2013-07-10 Thread Gabor Grothendieck
Suppose we have this program where we have started and ended with SEXP and written out the as and wrap conversions to make them explicit. How many times is the data copied? Does as copy the underlying data? Does wrap? Is it copied elsewhere? Which file in the source code would one look to determin