PyCall / RCall in notebook showing graph displayed by the other language?

Is it possible to call for instance ggplot2 in R, and have the graph be shown in a Julia Jupyter notebook? Any example code somewhere?

Yes. See the function ijulia_setdevice in RCall.jl/src/ijulia.jl

1 Like

PyPlot.jl calls Python’s PyPlot with Pycall according to the documentation.

I’ll try these maybe tomorrow.

Thanks for the answer, but I stopped trying to do R integration for my docker image due to the lousy way R package installation works on Debian, so I won’t be trying this. I’ll mark it as the answer anyway.