The JuliaConnectoR: a functionally oriented interface for integrating Julia in R

05/13/2020
by   Stefan Lenz, et al.
0

Like many groups considering the new programming language Julia, we faced the challenge of accessing the algorithms that we develop in Julia from R. Therefore, we developed the R package JuliaConnectoR, available from the CRAN repository and GitHub (https://github.com/stefan-m-lenz/JuliaConnectoR), in particular for making advanced deep learning tools available. For maintainability and stability, we decided to base communication between R and Julia on TCP, using an optimized binary format for exchanging data. Our package also specifically contains features that allow for a convenient interactive use in R. This makes it easy to develop R extensions with Julia or to simply call functionality from Julia packages in R. Interacting with Julia objects and calling Julia functions becomes user-friendly, as Julia functions and variables are made directly available as objects in the R workspace. We illustrate the further features of our package with code examples, and also discuss advantages over the two alternative packages JuliaCall and XRJulia. Finally, we demonstrate the usage of the package with a more extensive example for employing neural ordinary differential equations, a recent deep learning technique that has received much attention. This example also provides more general guidance for integrating deep learning techniques from Julia into R.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/10/2022

L0Learn: A Scalable Package for Sparse Learning using L0 Regularization

We present L0Learn: an open-source package for sparse linear regression ...
research
07/07/2017

Object-Oriented Software for Functional Data

This paper introduces the funData R package as an object-oriented implem...
research
12/21/2018

GaussianProcesses.jl: A Nonparametric Bayes package for the Julia Language

Gaussian processes are a class of flexible nonparametric Bayesian tools ...
research
04/19/2022

Plots.jl – a user extendable plotting API for the julia programming language

There are plenty of excellent plotting libraries. Each excels at a diffe...
research
05/21/2018

Super Learning in the SAS system

Background and objective: Stacking is an ensemble machine learning metho...
research
12/13/2021

PantheonRL: A MARL Library for Dynamic Training Interactions

We present PantheonRL, a multiagent reinforcement learning software pack...

Please sign up or login with your details

Forgot password? Click here to reset