Re: [Rcpp-devel] C++ code for ordinary differential equations

2011-10-05 Thread Christian Gunning
> Tst tst tst: You're loosing your Debian/Ubuntu instincts: > > edd@max:~$ wajig search sundials > libsundials-cvode1 - ordinary differentialequation solver (SUNDIALS library) ... > edd@max:~$ > > Bingo, another Rcpp project in the making :) Now wait just a sec -- with the powers of apt-cache sear

Re: [Rcpp-devel] C++ code for ordinary differential equations

2011-10-05 Thread Jonas Rauch
And here is what I meant: http://cran.r-project.org/web/packages/Rsundials/index.html Sadly, the package has not been updated for a long time and like I said before, it only covers basic functionality like solving an ODE. If that is all you want to do, it might still work for you though. What I nee

Re: [Rcpp-devel] C++ code for ordinary differential equations

2011-10-05 Thread Dirk Eddelbuettel
On 5 October 2011 at 16:59, Douglas Bates wrote: | On Wed, Oct 5, 2011 at 2:45 PM, Dirk Eddelbuettel wrote: | > | > On 5 October 2011 at 14:07, Douglas Bates wrote: | > | On Wed, Oct 5, 2011 at 1:31 PM, Jonas Rauch wrote: | > | > I am using the deSolve package successfully and I think it is pro

Re: [Rcpp-devel] C++ code for ordinary differential equations

2011-10-05 Thread Douglas Bates
On Wed, Oct 5, 2011 at 2:45 PM, Dirk Eddelbuettel wrote: > > On 5 October 2011 at 14:07, Douglas Bates wrote: > | On Wed, Oct 5, 2011 at 1:31 PM, Jonas Rauch > wrote: > | > I am using the deSolve package successfully and I think it is probably > your > | > best option if you want to do things i

Re: [Rcpp-devel] C++ code for ordinary differential equations

2011-10-05 Thread Dirk Eddelbuettel
On 5 October 2011 at 14:07, Douglas Bates wrote: | On Wed, Oct 5, 2011 at 1:31 PM, Jonas Rauch wrote: | > I am using the deSolve package successfully and I think it is probably your | > best option if you want to do things in R. | > The most widespread solver in C++ is the Sundials Suite as far

Re: [Rcpp-devel] Compiler seg fault with Rcpp 0.9.7

2011-10-05 Thread Steve Lianoglou
Hi, On Wed, Oct 5, 2011 at 3:22 PM, Douglas Bates wrote: > On Wed, Oct 5, 2011 at 2:15 PM, Ian Fellows wrote: >> Sorry, I should have been more explicit. I can install rcpp okay. The error >> occurs when installing a package that I'm developing. The installs fine with >> 0.9.4, but not with 0.

Re: [Rcpp-devel] Compiler seg fault with Rcpp 0.9.7

2011-10-05 Thread Douglas Bates
On Wed, Oct 5, 2011 at 2:15 PM, Ian Fellows wrote: > Sorry, I should have been more explicit. I can install rcpp okay. The error > occurs when installing a package that I'm developing. The installs fine with > 0.9.4, but not with 0.9.7. Interestingly it is the compiler that blows up... And not

Re: [Rcpp-devel] Compiler seg fault with Rcpp 0.9.7

2011-10-05 Thread Ian Fellows
Sorry, I should have been more explicit. I can install rcpp okay. The error occurs when installing a package that I'm developing. The installs fine with 0.9.4, but not with 0.9.7. Interestingly it is the compiler that blows up... Ian On Oct 5, 2011, at 11:42 AM, Steve Lianoglou wrote: > Hi

Re: [Rcpp-devel] C++ code for ordinary differential equations

2011-10-05 Thread Douglas Bates
On Wed, Oct 5, 2011 at 1:31 PM, Jonas Rauch wrote: > I am using the deSolve package successfully and I think it is probably your > best option if you want to do things in R. > The most widespread solver in C++ is the Sundials Suite as far as I know: > https://computation.llnl.gov/casc/sundials/mai

Re: [Rcpp-devel] Compiler seg fault with Rcpp 0.9.7

2011-10-05 Thread Steve Lianoglou
Hi Ian, On Wed, Oct 5, 2011 at 2:32 PM, Ian Fellows wrote: > Hi All, > > I am getting a compiler seg fault with 0.9.6 and 0.9.7, however the error > does not occur in 0.9.4. > > When running R CMD INSTALL the following error is given: > > util.h: In function 'Rcpp::XPtr > > gergm::unwrap_robjec

[Rcpp-devel] Compiler seg fault with Rcpp 0.9.7

2011-10-05 Thread Ian Fellows
Hi All, I am getting a compiler seg fault with 0.9.6 and 0.9.7, however the error does not occur in 0.9.4. When running R CMD INSTALL the following error is given: util.h: In function 'Rcpp::XPtr > gergm::unwrap_robject(SEXPREC* const&) [with T = gergm::BinaryNet]': util.h:30: internal compil

Re: [Rcpp-devel] C++ code for ordinary differential equations

2011-10-05 Thread Jonas Rauch
I am using the deSolve package successfully and I think it is probably your best option if you want to do things in R. The most widespread solver in C++ is the Sundials Suite as far as I know: https://computation.llnl.gov/casc/sundials/main.html I think someone starting writing an interface to R, b

Re: [Rcpp-devel] C++ code for ordinary differential equations

2011-10-05 Thread Douglas Bates
On Wed, Oct 5, 2011 at 12:25 PM, Richard Downe wrote: > On 10/04/2011 05:05 PM, Douglas Bates wrote: >> >> I am working with pharmacokinetic/pharmacodynamic models, some of >> which can only be represented as the solutions of ordinary >> differential equations.  I am looking for ODE sofware writte

Re: [Rcpp-devel] C++ code for ordinary differential equations

2011-10-05 Thread Richard Downe
On 10/04/2011 05:05 PM, Douglas Bates wrote: I am working with pharmacokinetic/pharmacodynamic models, some of which can only be represented as the solutions of ordinary differential equations. I am looking for ODE sofware written in C++. The deSolve package for R has lots of wonderful functions

Re: [Rcpp-devel] inheritance

2011-10-05 Thread Richard Downe
Thanks, I'll weigh my options going forward, but I appreciate seeing another approach. --rd On 10/05/2011 08:54 AM, Douglas Bates wrote: On Wed, Oct 5, 2011 at 8:51 AM, Douglas Bates wrote: On Tue, Oct 4, 2011 at 11:14 PM, Dirk Eddelbuettel wrote: On 4 October 2011 at 19:53, Richard Downe w

Re: [Rcpp-devel] inheritance

2011-10-05 Thread Douglas Bates
On Wed, Oct 5, 2011 at 8:51 AM, Douglas Bates wrote: > On Tue, Oct 4, 2011 at 11:14 PM, Dirk Eddelbuettel wrote: >> >> On 4 October 2011 at 19:53, Richard Downe wrote: >> | Since I'm a bit of a glutton for punishment, and I would like to see >> | this feature...are there major technical hurdles a

Re: [Rcpp-devel] inheritance

2011-10-05 Thread Douglas Bates
On Tue, Oct 4, 2011 at 11:14 PM, Dirk Eddelbuettel wrote: > > On 4 October 2011 at 19:53, Richard Downe wrote: > | Since I'm a bit of a glutton for punishment, and I would like to see > | this feature...are there major technical hurdles as to why this has not > | been implemented (e.g., I should j