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

Stefan Lenz, Maren Hackenberg, Harald Binder
5/13/2020
cs.MScs.LGcs.PL

Official code: stefan-m-lenz/JuliaConnectoR (117 stars, R, last commit 2026-09-01).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

A functionally oriented interface for calling Julia from R

1178R, JuliaApr 10, 20193 months agoNOASSERTION
interoperabilityjuliarr-package

Similar Papers

Cite this paper

@article{lenz2020juliaconnector,
  title  = {The JuliaConnectoR: a functionally oriented interface for integrating Julia in R},
  author = {Stefan Lenz and Maren Hackenberg and Harald Binder},
  year   = {2020},
  eprint = {2005.06334},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.06334}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2005.06334.svg)](https://codeofpaper.com/paper/2005.06334)

Discussion