ad_setup does the initial setup for package autodiffr.

ad_setup(JULIA_HOME = NULL, reverse = TRUE, forward = TRUE,
  verbose = TRUE, ...)

Arguments

JULIA_HOME

the file folder which contains julia binary, if not set, it will try to look at global option JULIA_HOME, if the global option is not set, it will then look at the environmental variable JULIA_HOME, if still not found, julia in path will be used.

reverse

whether to use load reverse mode automatic differentiation.

forward

whether to use forward mode automatic differentiation.

verbose

whether to print package startup messages.

...

arguments passed to JuliaCall::julia_setup.

Examples

# NOT RUN {
ad_setup()
# }