arrow
返回

The JuliaConnectoR: A Functionally-Oriented Interface for Integrating Julia in R

delete2022-01-01
delete2
delete
OA
AI
S
Stefan Lenz *
M
Maren Hackenberg
H
Harald Binder
DOI:10.18637/jss.v101.i06delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
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 Comprehensive R Archive Network (CRAN), the official R package repository, and from 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 the transmission control protocol, 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.
Keyword:
language bridge
R
Julia
deep learning
neural ordinary differential equations

期刊

Journal of Statistical Software 封面图
Journal of Statistical Software
IF:
8.1
论文数:
622
被引数:
4.6W

机构

U
University of Freiburg
学者数:
3.3W
论文数: 2.4W
被引数: 3.4W
引用论文

引用论文

暂无论文信息