Description Usage Arguments Examples
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.
1 | convex_setup(backend = c("JuliaCall"), JULIA_HOME = NULL)
|
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. |
1 2 3 4 | ## Not run:
convex_setup()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.