search for: odesolve

Displaying 20 results from an estimated 84 matches for "odesolve".

Did you mean: desolve
2006 Aug 04
1
Error when loading odesolve
Dear list, I installed odesolve package (0.5-15) in R 2.3.1 in a Solaris server (Generic_118558-11 sun4u sparc SUNW,Sun-Blade-1000). The installing progress completed without errors, though several warnings like "Warning: Option -fPIC passed to ld, if ld is invoked, ignored otherwise" were outputed. However, when load...
2008 Sep 16
2
odesolve dynload example
Hello R Developers, This is my first foray into using c-code with R, so please forgive my foolishness. I had a look at the archives and did not find anything on this, so hopefully I am not doubling up. I have tried to use R cmd to create an object file from the odesolve dynload example. I am using windows and have just installed rtools, and have the latest version of stable R (2..7.2). This is what happened: C:\Program Files\R\R-2.7.2\library\odesolve\dynload\c>Rcmd SHLIB mymod.c making mymod.d from mymod.c windres --preprocessor="gcc -E -xc -DRC_INVOKED...
2006 Jul 28
1
odesolve loading problem
Hi, I get the following error message when loading the package odesolve ( R 2.2.1 - odesolve 0.5.14 - AMD64 - Linux Fedora Core 4 ) : > library(odesolve) Error in library.dynam(lib,package,package.lib) : shared library 'TRUE' not found Error: package/namespace load failed for 'odesolve' Any help would be greatly appreciated Ariel./
2008 Mar 08
1
Installing odesolve package of R under Ubuntu (Debian) Linux
Bonjour, Je cherche à installer le package odesolve du logiciel de statistique R sous Ubuntu Linux. C'est un package qui contient des fonctions appelant du code en Fortran. A l'installation sous R via le shell, j'obtiens l'erreur suivante: Hi, I tried to install odesolve package of R under Ubuntu Linux. But I got the following erro...
2001 May 09
3
odesolve check fails
Hi, I just installed the odesolve package and ran the check command on it. It failed trying to execute library(gnlm). Sure enough, there is no gnlm library on my system and I could not find it on the CRAN archive either. Am I missing anything obvious or is gnlm some private library that somehow found its way into the exam...
2004 Feb 05
1
Installing odesolve under MacOSX
Installing odesolve in Raqua 1.8.0 or 1.8.1 under MacOSX gives the following message: Warning message: Installation of package odesolve had non-zero exit status in: install.packages(ui.pkgs, CRAN = getOption(where), lib = .libPaths()[1]) Moreover, in the source of odesolve is no makefile. Does anyone know how to ge...
2012 Oct 08
2
PKPD modelling in R
Dear all, I have two questions: 1. Does anyone know if nlmeODE package will work once odesolve is discontinued? If i understand well nlmeODE depends on odesolve. 2. Can anyone suggest another package I could use to fit complex PKPD models (described using differential equations) to data? Thanks a lot! Magdalena
2006 Nov 29
2
How to solve differential equations with a delay (time lag)?
Hi, I would like to solve a system of coupled ordinary differential equations, where there is a delay (time lag) term. I would like to use the "lsoda" function "odesolve" package. However, I am not sure how to specify the delay term using the syntax allowed by odesolve. Here is an example of the kind of problem that I am trying to solve: > library(odesolve) yprime <- function(t, y, p) { # this function yd1 <- p["k1"] *(t <...
2006 Nov 21
1
f2c to achieve reentrancy in odesolve?
I am beginning a much-delayed update of odesolve to include several ordinary differential equation solvers from the Livermore package ODEPACK. These are much-used and reliable Fortran codes, and I plan (as I did for lsoda in the current odesolve package) to make as few changes as possible to the Fortran 77 code. However, recently someone wanted...
2002 Feb 01
1
typo and user-proofing in odesolve() (PR#1295)
A couple of minor points about the odesolve package (which I am otherwise enjoying very much): 1. "scalar" is misspelled as "scaler" in the definitions of the rtol and atol parameters 2. it is possible to crash R by doing something dumb, e.g failing to read the documentation carefully enough and (a) returning only a v...
2002 Jun 14
1
ODESOLVE
Dear All, I am experiencing a difficulty with the "lsoda" function in ODESOLVE library; my differentiation function contains a covariate changes with time, and I don't know how to incorporate that without using loops and so on. Does anyone know how to do it? Your help will be very much appreciated!! In-Sun In-Sun Nam School of Pharmacy and Pharmaceutical Sciences Unive...
2008 Oct 02
1
KernSmooth not loading in R 2.7.2
I just upgraded to R 2.7.2 (from 2.7.1) this morning (Ubuntu amd64 platform). Shortly afterwards, I ran into a problem loading the odesolve library, it could not find libRblas.so. I was able to fix this by rebuilding odesolve. Now, KernSmooth gives me the same problem... R> library(KernSmooth) Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library '/usr/lib/R/library/KernSmooth/libs/KernSmooth.so...
2000 May 24
1
Problem w/cygwin1.1 (maybe)
....1 with Mummit Kahn''s port of gcc 2.95.2. I have upgraded to the new net release of cygwin (version 1.1, including the recent cygwin package upgrade to 1.1.1). Now when the dll for my package is being created, I get the string of errors like: [...] gcc -mno-cygwin -mdll -Wl,--base-file,odesolve.b -s -o odesolve.dll odesolve.e odesolve.a -L/R/rw1001/src/gnuwin32 -lg2c -lR /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(sfe.o)(.text+0x4e): undefined reference to `__errno'' /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(sfe.o)(.text+0xb9): undefined reference to `__errno''...
2008 Sep 16
0
FW: odesolve dynload example
...T=p["T"] bexp<-as.brob((const*(psii-m1*y[1]-m2*M/N))/T) yd1<-as.numeric((kay*exp(bexp))/(kay*t*exp(bexp)+1)- (kay^2*t*exp(2*bexp))/(kay*t*exp(bexp)+1)^2) list(c(yd1)) } Now I guess this could be done with gmp. Now I use this stuff in the function that odesolve's lsoda refers to, and I have found that my approach using pure R code is not fast enough, so I need to convert my function to C code. This is all on a windows system. Is it possible to access gmp or Brobdingnag dll's from the C code? Or do I need to install and compile the gmp library i...
2007 Jun 06
3
Using odesolve to produce non-negative solutions
Hello, I am using odesolve to simulate a group of people moving through time and transmitting infections to one another. In Matlab, there is a NonNegative option which tells the Matlab solver to keep the vector elements of the ODE solution non-negative at all times. What is the right way to do this in R? Thanks, Jeremy P...
2005 Nov 06
1
Problem defining a system of odes as a C library with lsoda
I have been trying to make use of the odesolve library on my university's Linux grid - currently R version 2.0.1 is installed and the system runs 64-bit Scientific Linux based on Redhat. I cannot seem to get lsoda working when I define the model as a shared C library. For example, the following snippet uses the mymod.c example bundled w...
2004 Jun 10
2
odesolve: lsoda vs rk4
I'm trying to use odesolve for integrating various series of coupled 1st order differential equations (derived from a system of enzymatic catalysis and copied below, apologies for the excessively long set of parameters). The thing that confuses me is that, whilst I can run the function rk4: out <- rk4(y=y,times=times,fu...
2005 Jul 27
4
odesolve/lsoda differences on Windows and Mac
Hi - I am getting different results when I run the numerical integrator function lsoda (odesolve package) on a Mac and a PC. I am trying to simulating a system of 10 ODE's with two exogenous pulsed inputs to the system, and have had reasonably good success with many model parameter sets. Under some parameter sets, however, the simulations fail on the Mac (see error message below). The...
2006 Apr 25
1
Windows MinGW compiler clarification, consequences
...packages available on cran? 2) Are the patches to g77 and ld still relevant? 3) what issues are we likely to encounter -- code incompatibility, ??? -- changing from 3.4.2 to the current compiler tools? As a more specific example, a particular Bioconductor package depends on the cran package odesolve; odesolve has Fortan source files. Example R code in the Bioconductor package evaluates without issues when the .zip file from cran is used, but generates warnings (originating from the Fortran code of odesolve) when compiled locally: Warning: intdy-- t (=r1) illegal Warning: t not in interval t...
2008 Nov 21
1
lsoda warning "too much accuracy requested"
...fectly justifiable results. Just changing beta to 0.9 or similar causes the problem. I am still new to R so I am unsure if it is my programming or my understanding of the way lsoda works. Any comments or input would be welcome. Many thanks Colleen ___________ My code is: library(odesolve) SI <- 80 model <- function(t, x, parms) { H <- x[1] BA <- x[2] N <- x[3] with(as.list(parms), { dHdt <- (b/c)*(((a**c)*((H)**(1-c))-H)) dBAdt <- -(BA*b)*(c0+(c1*SI)-log(BA))/(log(1-((H/a)**c)))...