Re: [Rcpp-devel] package: cda

2011-07-25 Thread Dirk Eddelbuettel

On 26 July 2011 at 11:27, baptiste auguie wrote:
| I have just released a new package on CRAN
|  . It uses
| RcppArmadillo to solve a complex linear system of equations that
| describes the self-consistent electromagnetic interaction between
| small metallic nanoparticles illuminated by light, thereby predicting
| the scattering and absorption properties of the cluster.

Cool---so congratulations are on order, and also thanks for announing it here.

Dirk

-- 
Gauss once played himself in a zero-sum game and won $50.
  -- #11 at http://www.gaussfacts.com
___
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel


[Rcpp-devel] package: cda

2011-07-25 Thread baptiste auguie
Dear list,

I have just released a new package on CRAN
 . It uses
RcppArmadillo to solve a complex linear system of equations that
describes the self-consistent electromagnetic interaction between
small metallic nanoparticles illuminated by light, thereby predicting
the scattering and absorption properties of the cluster.

Thanks for the invaluable help I got from this list along the way;
Romain, Dirk, Conrad and Doug in particular.

Best regards,

baptiste
___
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel


[Rcpp-devel] Use of Rcpp Modules in a large package

2011-07-25 Thread Douglas Bates
As mentioned on the R-SIG-Mixed-Models mailing list, I have been
working for some time to express lme4 using the RcppEigen package (one
of the main motivations for creating RcppEigen) and Rcpp Modules.
Unfortunately, my tests are showing segfaults and other instances of
memory problems.  I think I have been here before with Rcpp modules.

Has anyone managed to use Rcpp Modules extensively without running
into segfaults, etc.?  In a large package like lme4, incorporating new
facilities like Eigen, there are many ways that things can go wrong
with memory allocation and freeing so I don't know that it is
necessarily the module code.  There are dozens of things that could go
wrong and debugging memory faults is difficult.  When I need to resort
to gctorture and enabling the write barrier it can take half a day to
run a simple example.
___
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel