JuliaObject | R Documentation |
JuliaObject
converts an R object to julia object
and returns a reference of the corresponding julia object.
JuliaObject(x)
x |
the R object you want to convert to julia object. |
an environment of class JuliaObject, which contains an id corresponding to the actual julia object.
if (identical(Sys.getenv("AUTO_JULIA_INSTALL"), "true")) { ## julia_setup is quite time consuming ## doing initialization and automatic installation of Julia if necessary julia_setup(installJulia = TRUE) a <- JuliaObject(1) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.