julia_assign {JuliaCall}R Documentation

Assign a value to a name in julia.

Description

julia_assign assigns a value to a name in julia with automatic type conversion.

Usage

julia_assign(x, value)

Arguments

x

a variable name, given as a character string.

value

a value to be assigned to x, note that R value will be converted to corresponding julia value automatically.

Examples


 ## julia_setup is quite time consuming
  julia_assign("x", 2)
  julia_assign("rsqrt", sqrt)



[Package JuliaCall version 0.16.6 Index]