The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

JuliaCall in Jupyter R Notebook

Changcheng Li

2022-09-08

For the original notebook, please go to https://nbviewer.jupyter.org/github/Non-Contradiction/JuliaCall/blob/master/example/JuliaCall_in_Jupyter_R_Notebook.ipynb.

Here I generate a markdown file from part of the notebook and include it in this vignette.

library(JuliaCall)
julia_setup()
Julia version 1.0.0 at location /Applications/Julia-1.0.app/Contents/Resources/julia/bin will be used.
Loading setup script for JuliaCall...
Finish loading setup script for JuliaCall.
julia_console()
It seems that you are not in the terminal. A simple julia console will be started.
Type exit and then enter to exit.

julia> sqrt(2)

1.4142135623730951

julia> exit

Exiting julia console.
julia_library("Plots")
julia_command("gr()")

Plots.GRBackend()

julia_command("Plots.plot(Plots.fakedata(50,5),w=3)")
0 10 20 30 40 50 -5.0 -2.5 0.0 2.5 5.0 y1 y2 y3 y4 y5

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.