julia_init: Start Julia from R, properly initializing the R-Julia...

Description Usage Arguments Value See Also Examples

Description

Start Julia from R, properly initializing the R–Julia interface.

Usage

1
2
3
julia_init(juliahome = "", disablegc = FALSE, parallel = TRUE)

isJuliaOk()

Arguments

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.

Value

julia_init() returns NULL if successful, an error otherwise

isJuliaOk() returns TRUE or FALSE (and should never give an error).

See Also

r2j, j2r, julia_eval.

Examples

1
2
isJuliaOk() # TRUE, (almost ?) always if the 'rjulia' package has been loaded properly
try( julia_init() ) # should work if julia is properly installed

armgong/rjulia documentation built on May 10, 2019, 1:41 p.m.