Learn R Programming

convexjlr (version 0.8.1)

convex_setup: Doing the setup for the package convexjlr

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

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

Run this code
# NOT RUN {
convex_setup()
# }

Run the code above in your browser using DataLab