Description Usage Arguments Value Examples
This function returns a list of functions to start/run/stop a Julia process. The code is sent to Julia via a socket connection, and the results are written back in another socket connection.
1 | proc_julia(port = 2000)
|
port |
A TCP port number |
A list of functions start()
, exec()
, running()
(check if the process has been running), and stop()
.
1 2 3 4 5 6 7 8 9 | ## Not run:
j = proc_julia()
j$start()
j$exec("1+1")
j$exec("a=[1:8]", "a+5")
j$running() # should be TRUE
j$stop()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.