Great!<div>One other question. How integrated do we want admb and R to be? Certainly R is commonly used with admb, and should be supported. However, does anyone use admb and python or admb and java? I am not trying to be critical; I think this project is important. I think that admb is a powerful tool that could be used to create powerful libraries for various programming languages, and </div>
<div>I thought the point of admb -d was to give this capacity. </div><div><br></div><div>Laurie, would be interested in seeing some of your examples! </div><div>Thank you for starting this!</div><div>Aaron</div><div><br></div>
<div><br><div class="gmail_quote">On Wed, Aug 24, 2011 at 7:25 AM, Laurie <span dir="ltr"><<a href="mailto:lauriekell@googlemail.com">lauriekell@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<u></u>
<div bgcolor="#ffffff" text="#000000">
Great, I have a few examples that I was using for learning and maybe
we should compare notes and maybe keep others informed.<br><font color="#888888">
<br>
Laurie</font><div><div></div><div class="h5"><br>
<br>
On 08/24/2011 10:29 AM, Rubén Roa wrote:
<blockquote type="cite">
<p><font size="2">Hi Laurie,<br>
<br>
I am very interested and I think it would eventually become a
standard in nonlinear modeling: control everything from R but
when it comes to optimization, call an ADMB executable, a dll,
or the C++ code created by makeadm. This is the plan with my R
package CatDyn, available on CRAN. The current first version
is a pure R implementation, that uses the recent package
optimx for greater flexibility in selecting a numerical method
and for numerical diagnostics such as the Karesh-Kuhn-Tucker
optimality criteria. The next version of the package will give
the choice to optimize using ADMB code instead of R's
numerical methods. The model procedure I have in mind is:<br>
1) pre-processing of data, and selection of initial parameter
values with a toy version of the model in R,<br>
2) optimization with ADMB code but controlled from R, with
ADMB behind the scene, and<br>
3) capture of results, model diagnostics, and plotting results
in R.<br>
So I'm very interested in your work. If I can be of help I'd
be glad,<br>
<br>
Rubén<br>
<br>
Rubén H. Roa-Ureta, Ph. D.<br>
AZTI Tecnalia, Txatxarramendi Ugartea z/g,<br>
Sukarrieta, Bizkaia, SPAIN<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:users-bounces@admb-project.org" target="_blank">users-bounces@admb-project.org</a> on behalf of Laurie<br>
Sent: Tue 8/9/2011 2:50 PM<br>
To: <a href="mailto:Users@admb-project.org" target="_blank">Users@admb-project.org</a><br>
Subject: [ADMB Users] ADMB & R<br>
<br>
Maybe this is not the right forum for my email but here goes.<br>
<br>
I am currently creating several R packages that use ADMB code;
there are<br>
two ways of doing this i.e. use<br>
1) an executable and text files (e.g. glmmADMB) or<br>
2) create a dll or shared library<br>
<br>
There are advantages and disadvantages of both approaches, but
there are<br>
also some things that could be<br>
done to make it easier to mix ADMB & R, i.e. creation of<br>
a) make files that allow R & ADMB to be compiled
together across<br>
all platforms<br>
b) a set of standard R functions/methods for reading and
writing R<br>
& ADMB files<br>
c) adding to the basic ADMB output files to make it
easier to<br>
create R objects<br>
<br>
There is also an R package Rcpp that makes it easier to create
packages<br>
that combine R & C++, and this looks<br>
like something that could be "easily" adapted to make a
generic R/ADMB<br>
interface.<br>
<br>
I am actively working on these things now, and might even be
able to<br>
find funding for others. Is there any interest in<br>
pursuing this?<br>
<br>
<br>
Laurie<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@admb-project.org" target="_blank">Users@admb-project.org</a><br>
<a href="http://lists.admb-project.org/mailman/listinfo/users" target="_blank">http://lists.admb-project.org/mailman/listinfo/users</a><br>
<br>
</font>
</p>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@admb-project.org">Users@admb-project.org</a><br>
<a href="http://lists.admb-project.org/mailman/listinfo/users" target="_blank">http://lists.admb-project.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>