Julia interoperation and foreign function interfaces

November 27, 2019 — August 25, 2022

computers are awful
julia

Interoperation for Julia. Related: Julia GUIs and networking.

Figure 1

See the API list

0.1 C

Sort of easy, but there is a tedious need to define the call signature at call time. Survivable.

0.2 R

We can connect statistical computing language R to Julia. There are two alternative methods to connect R and Julia, XRJulia and RJulia.

JuliaCall is the actively developed method to invoke julia from R. See also Package README. Source at Non-Contradiction/JuliaCall: Embed Julia in R.

0.3 Python

PyCall.jl invokes python. It has annoying defaults. See the IJulia setup for some examples of how it goes.

1 Generic external programs

simple enough, as I note at (julia plotting](./plotting_in_julia.html#svg-latex):

run(`inkscape -D -z --file=image.svg --export-pdf=image.pdf --export-latex`)

I should make an example of one which creates a temporary pipe and streams data to it.