convex_setup: Doing the setup for the package convexjlr

Description Usage Arguments Examples

Description

This function does the setup for the package convexjlr. Firstly it will try to establish the connect to Julia via the XRJulia interface, or try to embed julia in R through JuliaCall. Secondly it will check for the Julia packages Convex and SCS, if the packages are not found, it tries to install them into Julia. Finally, it will try to load the Julia packages and do the necessary initial setup.

Usage

1
convex_setup(backend = c("JuliaCall"), JULIA_HOME = NULL)

Arguments

backend

the backend to use, only JuliaCall is supported currently.

JULIA_HOME

the path to julia binary, if not set, convexjlr will try to use the julia in path.

Examples

1
2
3
4
## Not run: 
convex_setup()

## End(Not run)

convexjlr documentation built on May 2, 2019, 5:28 a.m.