[R-sig-dyn-mod] deSolve with compiled code and varying size of parms

Rampal Etienne rampaletienne at gmail.com
Wed Mar 29 22:23:24 CEST 2017


OK, that clarifies it. One more thing: your example with

res = test(x0, 5)

works fine, but when I take

res = test(x0, 5, 2.5)

to set an evaluation step of 2.5, then RStudio crashes. With other step 
sizes (0.1, 0.5, 1, 1.5, 2) everything worked fine.

RSE

On 29-Mar-17 16:42, Tim Keitt wrote:
> On Wed, Mar 29, 2017 at 3:14 AM, Rampal S. Etienne <rampaletienne at gmail.com>
> wrote:
>
>> Thanks for the quick reply. However, when I run this code, I get loads
>> of errors. See below. Similar errors are obtained when running the
>> examples in the odeintr documentation (e.g. logistic). I updated R,
>> RStudio and Rtools, but to no avail.
>>
>> Also, how does the parameter N in sys get specified?
>>
> The symbol N is taken from the "sys_dim" argument. It is a constant in the
> C++ code.
>
> There have been some recent changes in the r-devel branch and in Rcpp that
> are causing havoc with C++11 code. I am just updating the package to
> hopefully deal with some of that.
>
> THK
>
> http://www.keittlab.org/
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-dynamic-models mailing list
> R-sig-dynamic-models at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-dynamic-models



More information about the R-sig-dynamic-models mailing list