setJuliaClass: Define a Proxy Julia Class (Composite Type)

Description Usage Arguments

Description

Given the name and optionally the module for a Julia composite type, defines an R proxy class with the same fields as the Julia type. By default, uses metadata from Julia to find the fields. If the call supplies the desired field names explicitly, metadata is not used.

Usage

1
2
3
setJuliaClass(juliaType, module = "", fields = character(),
  where = topenv(parent.frame()), proxyObjectClass = "JuliaObject",
  ...)

Arguments

juliaType, module

Strings identifying the composite type and optionally the module containing it. In normal use, metadata from Julia is used to find the definition of the type.

fields, where, proxyObjectClass, ...

Overriding arguments that should not be used by direct calls from package source code.


XRJulia documentation built on May 6, 2019, 1:01 a.m.