Re: [Rcpp-devel] R package linking to C: coding advice

2015-06-03 Thread Guillaume Chapron
Hello, > a) GSL for RNGs is (probably) inferior to what R does; if your main interest > is in the R package (as opposed to R as well as a standalone program) then it > may make sense to just use R's RNGs. Why are the RNGs in GSL probably inferior than the ones in R? When calling C code from R,

Re: [Rcpp-devel] R package linking to C: coding advice

2015-05-31 Thread Dirk Eddelbuettel
Hi Guillaume, On 31 May 2015 at 20:46, Guillaume Chapron wrote: | Hello list, | | I am writing a R package for an ecological audience to model some populations. I think at this stage some advise may avoid me make naive mistakes. I have already done quite a lot of work (but before thinking abou

[Rcpp-devel] R package linking to C: coding advice

2015-05-31 Thread Guillaume Chapron
Hello list, I am writing a R package for an ecological audience to model some populations. I think at this stage some advise may avoid me make naive mistakes. I have already done quite a lot of work (but before thinking about an R package) and now I need to glue all but this does not look simpl