This is the compilation workhorse creating the RxODE model DLL files.
rxCompile(
model,
dir,
prefix,
force = FALSE,
modName = NULL,
package = NULL,
...
)
# S3 method for rxModelVars
rxCompile(
model,
dir = NULL,
prefix = NULL,
force = FALSE,
modName = NULL,
package = NULL,
...
)
# S3 method for character
rxCompile(
model,
dir = NULL,
prefix = NULL,
force = FALSE,
modName = NULL,
package = NULL,
...
)
# S3 method for rxDll
rxCompile(model, ...)
# S3 method for RxODE
rxCompile(model, ...)| model | This is the ODE model specification. It can be:
An ODE expression enclosed in (see also the |
|---|---|
| dir | This is the model directory where the C file will be stored for compiling. |
| prefix | is a string indicating the prefix to use in the C based functions. If missing, it is calculated based on file name, or md5 of parsed model. |
| force | is a boolean stating if the (re)compile should be forced if RxODE detects that the models are the same as already generated. |
| modName | a string to be used as the model name. This string
is used for naming various aspects of the computations,
including generating C symbol names, dynamic libraries,
etc. Therefore, it is necessary that |
| package | Package name for pre-compiled binaries. |
| ... | Other arguments sent to the |
An rxDll object that has the following components
dllDLL path
modelmodel specification
.cA function to call C code in the correct context from the DLL
using the .C() function.
.callA function to call C code in the correct context from the DLL
using the .Call() function.
argsA list of the arguments used to create the rxDll object.
Matthew L.Fidler