julia_setup

0th

Percentile

Do initial setup for the JuliaCall package.

julia_setup does the initial setup for the JuliaCall package. It setups automatic type conversion, Julia display systems, etc, and is necessary for every new R session to use the package. If not carried out manually, it will be invoked automatically before other julia_xxx functions.

Usage
julia_setup(
  JULIA_HOME = NULL,
  verbose = TRUE,
  install = TRUE,
  force = FALSE,
  useRCall = TRUE,
  rebuild = FALSE
)
Arguments
JULIA_HOME

the file folder which contains julia binary, if not set, JuliaCall will look at the global option JULIA_HOME, if the global option is not set, JuliaCall will then look at the environmental variable JULIA_HOME, if still not found, JuliaCall will try to use the julia in path.

verbose

whether to print out detailed information about julia_setup.

install

whether to execute installation script for dependent julia packages, whose default value is TRUE; but can be set to FALSE to save startup time when no installation of dependent julia packages is needed.

force

whether to force julia_setup to execute again.

useRCall

whether or not you want to use RCall.jl in julia, which is an amazing package to access R in julia.

rebuild

whether to rebuild RCall.jl, whose default value is FALSE to save startup time. If a new version of R is used, then this parameter needs to be set to TRUE.

Value

The julia interface, which is an environment with the necessary methods like command, source and things like that to communicate with julia.

Aliases
  • julia_setup
Examples
# NOT RUN {
# }
# NOT RUN {
 ## julia_setup is quite time consuming
  julia <- julia_setup()
# }
# NOT RUN {
# }
Documentation reproduced from package JuliaCall, version 0.17.1, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.