Learn R Programming

convexjlr (version 0.6.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("XRJulia", "JuliaCall"))

Arguments

backend

whether to use XRJulia or JuliaCall as backend

Examples

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

Run the code above in your browser using DataLab