julia_assign assigns a value to a name in julia with automatic type conversion.
julia_assign
julia_assign(x, value)
a variable name, given as a character string.
a value to be assigned to x, note that R value will be converted to corresponding julia value automatically.
# NOT RUN { # } # NOT RUN { ## julia_setup is quite time consuming julia_assign("x", 2) julia_assign("rsqrt", sqrt) # } # NOT RUN { # }
Run the code above in your browser using DataLab