rserve:socket
is defined and not empty, it is taken
as the path to a Unix domain socket to connect to.rserve:port
and rserve:host
is defined, we
connect to the indicated host and port.After the connection is established, the session can be configured using the hook r_init_session/1. The default calls r_setup_graphics/2 to setup graphics output to send SVG files.