Description Usage Arguments Value See Also Examples
Start Julia from R, properly initializing the R–Julia interface.
1 2 3 | julia_init(juliahome = "", disablegc = FALSE, parallel = TRUE)
isJuliaOk()
|
juliahome |
the home directory of the julia installation; should rarely be needed. |
disablegc |
logical indicating if garbage collection is disabled. |
parallel |
logical indicating if Julia should be initialized to run several parallel processes. |
julia_init()
returns NULL
if successful, an error
otherwise
isJuliaOk()
returns TRUE
or FALSE
(and should never give an error).
r2j
, j2r
, julia_eval
.
1 2 | isJuliaOk() # TRUE, (almost ?) always if the 'rjulia' package has been loaded properly
try( julia_init() ) # should work if julia is properly installed
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.