JuliaObject {JuliaCall} | R Documentation |
Convert an R Object to Julia Object.
Description
JuliaObject
converts an R object to julia object
and returns a reference of the corresponding julia object.
Usage
JuliaObject(x)
Arguments
x |
the R object you want to convert to julia object. |
Value
an environment of class JuliaObject, which contains an id corresponding to the actual julia object.
Examples
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)
}
[Package JuliaCall version 0.17.5 Index]