Re: [Rcpp-devel] Additional parameters for an objective function, e.g. in RcppDE

2013-04-29 Thread Christoph Bergmeir
RcppDE::DEoptim(fn=create_xptr(), env=env, lower=rep(-25, n), upper=rep(25, n), control=list(NP=10*n, itermax=maxIt, trace=FALSE)) res$optim # Regards and thanks for the help, Christoph On 04/29/2013 02:41 PM, Dirk Eddelbuettel wrote:

Re: [Rcpp-devel] Additional parameters for an objective function, e.g. in RcppDE

2013-04-28 Thread Christoph Bergmeir
question now is if I can include it there somehow.. Regards, Christoph On 04/29/2013 02:16 PM, Dirk Eddelbuettel wrote: On 29 April 2013 at 13:55, Christoph Bergmeir wrote: | Hi, | | thanks Dirk for the prompt reply. Ok, this was also the solution I had | in mind. I'll try to find the co

Re: [Rcpp-devel] Additional parameters for an objective function, e.g. in RcppDE

2013-04-28 Thread Christoph Bergmeir
3 at 12:37, Christoph Bergmeir wrote: | Dear list, | | I'm looking for some advice on a specific problem. Using RcppDE there is | the possibility to give the optimizer directly an external pointer to | the C++ function it will use as the objective function. I found this | mechanism pretty useful as

[Rcpp-devel] Additional parameters for an objective function, e.g. in RcppDE

2013-04-28 Thread Christoph Bergmeir
h to find the right object in the list. But this is probably not really the way R environments should be used, and I wonder if this will cause any trouble. Any advise is highly appreciated. Regards, Christoph -- Christoph Bergmeir e-mail: c.bergm...@decsai.ugr.es Grupo SCI2S, DiCITS

[Rcpp-devel] [ANN] New package Rmalschains (with initial version 0.1) and recent changes in RSNNS (current version 0.4-3)

2012-03-21 Thread Christoph Bergmeir
get started using the package, and provides technical background and starting points if you are interested in the theoretical background. If you use the package, please consider citing the article. Kind regards, Christoph -- Christoph Bergmeir e-mail: c.bergm...@decsai.ugr.es Grupo SCI2S

[Rcpp-devel] [ANN] RSNNS 0.4-0

2011-06-21 Thread Christoph Bergmeir
were implemented to extract internals of the neural networks (getWeights, getUnitDefinitions) - documentation of the high-level functions was greatly improved with references to original literature and some descriptions - original SNNS 4.2 User Manual was added to inst/doc Regards, Christoph -- Chri

Re: [Rcpp-devel] R.e. loadRcppModules

2011-05-27 Thread Christoph Bergmeir
lists.r-forge.r-project.org You can reach the person managing the list at rcpp-devel-ow...@lists.r-forge.r-project.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Rcpp-devel digest..." Today's Topics: 1. Re: R.e. loadR

Re: [Rcpp-devel] R.e. loadRcppModules

2011-05-25 Thread Christoph Bergmeir
d have to reinvent a suitable subset, leaning on R's serialization. Too bad we didn't have that insight four weeks ago. This would have made a swell project for Google Summer of Code. I blame Christian ;-) Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com On 04/14/

Re: [Rcpp-devel] Rcpp::wrap seg fault (when called with a NULL pointer)

2011-05-24 Thread Christoph Bergmeir
Hi, thanks that you resolved this issue so fast.. Regards, Christoph On 05/24/2011 06:21 PM, Dirk Eddelbuettel wrote: On 24 May 2011 at 17:29, Christoph Bergmeir wrote: | Hi, | | of course it's your decision, but I personally think that adding the check to the wrapper is a good idea

Re: [Rcpp-devel] Rcpp::wrap seg fault (when called with a NULL pointer)

2011-05-24 Thread Christoph Bergmeir
at 14:53, Romain Francois wrote: | Le 24/05/11 13:46, Dirk Eddelbuettel a écrit : |> |> On 24 May 2011 at 13:22, Christoph Bergmeir wrote: |> | Hello everybody, |> | |> | I just ran into the following problem: Using Rcpp::wrap with a NULL pointer crashes my R. I'm not so su

Re: [Rcpp-devel] Rcpp::wrap seg fault (when called with a NULL pointer)

2011-05-24 Thread Christoph Bergmeir
stead of seg-faulting..). Regards, Christoph On 05/24/2011 01:46 PM, Dirk Eddelbuettel wrote: On 24 May 2011 at 13:22, Christoph Bergmeir wrote: | Hello everybody, | | I just ran into the following problem: Using Rcpp::wrap with a NULL pointer crashes my R. I'm not so sure if this is a bug

[Rcpp-devel] Rcpp::wrap seg fault (when called with a NULL pointer)

2011-05-24 Thread Christoph Bergmeir
oph PD: Dirk, Romain, I just read through the slides you made for this workshop a month ago. Great work! Thanks a lot! -- Christoph Bergmeir e-mail: c.bergm...@decsai.ugr.es Grupo SCI2S, DiCITS Lab (http://sci2s.ugr.es/DiCITS) Dpto. de Ciencias de la Computacion e Inteligencia Artificial

[Rcpp-devel] Dependence on GNU make because of $(shell)

2010-11-19 Thread Christoph Bergmeir
Hi Rcpp list, the CRAN maintainers still don't seem to be too happy about the dependence on GNU make that gets introduced by $(shell) in the Makevars files. The package I recently submitted to CRAN, RSNNS, uses exactly the same mechanism as proposed in the Rcpp vignette or is implemented e.g.

Re: [Rcpp-devel] Recommended procedure to depend on Rcpp

2010-11-17 Thread Christoph Bergmeir
Hello Rcpp-devel list, so I'm glad that we finally found a solution to the GNU make dependency problem that seems suitable in the normal case (and so RSNNS). I really didn't mean to stir up a hornets' nest when starting the discussion, and I'm sorry that I didn't have the time to follow all co

[Rcpp-devel] New package for neural networks on CRAN using Rcpp: RSNNS

2010-11-15 Thread Christoph Bergmeir
Hello Rcpp developers and other people on the list, Romain Francois encouraged me to send this email to the list announcing a package my lab recently submitted to CRAN. http://cran.r-project.org/web/packages/RSNNS/ Here is the package description: The Stuttgart Neural Network Simulator (SNNS