exit {remoter} | R Documentation |
This function cleanly shuts down the remoter server the client
is currently connected to, as well as shutting down the client.
One can also use q()
(while the client is running), and
this will not close the active R session on the client.
exit(client.only = TRUE, q.server = TRUE) shutdown() kill(addr = "localhost", port = 55555)
client.only |
Logical; if |
q.server |
Logical; if |
addr, port |
The server address and port, as in |
Exit the remoter client/server.
The shutdown()
function is shorthand for
exit(FALSE, TRUE)
. The kill()
function is shorthand
for running batch()
with script="shutdown()"
.
Returns TRUE
invisibly on successful exit.