JuliaObject converts an R object to julia object and returns a reference of the corresponding julia object.

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

## julia_setup is quite time consuming a <- JuliaObject(1)