diffeq_setup {diffeqr}R Documentation

Setup diffeqr

Description

This function initializes Julia and the DifferentialEquations.jl package. The first time will be long since it includes precompilation. Additionally, this will install Julia and the required packages if they are missing.

Usage

diffeq_setup(pkg_check = TRUE, ...)

Arguments

pkg_check

logical, check for DifferentialEquations.jl package and install if necessary

...

Parameters are passed down to JuliaCall::julia_setup

Value

Returns the de object which gives R-side calls to DifferentialEquations.jl's functions. For example, de$solve calls the DifferentialEquations.solve function, and de$ODEProblem calls the DifferentialEquations.

Examples


## Not run:  ## diffeq_setup() is time-consuming and requires Julia+DifferentialEquations.jl

diffeqr::diffeq_setup()


## End(Not run)


[Package diffeqr version 1.1.1 Index]