Learn R Programming

XRJulia (version 0.9.0)

asServerObjectMethods: Julia methods for asServerObject()

Description

The default method for JuliaObject is modelled on the overall default method in XR.

For arrays, the method uses the reshape() function in Julia to create a suitable multi-way array.

For "plain" lists, the method produces the Julia expression for a list or a dictionary; with other attributes, uses the .RClass form.

Usage

# S4 method for ANY,JuliaObject
asServerObject(object, prototype)

# S4 method for array,JuliaObject asServerObject(object, prototype)

# S4 method for list,JuliaObject asServerObject(object, prototype)

Arguments

object

The R object.

prototype

The proxy for a prototype of the Julia object, supplied by the evaluator.