Learn R Programming

outsider.base (version 0.1.4)

server_disconnect: Disconnect from a server

Description

Disconnect from a server and remove from outsider

Usage

server_disconnect()

Arguments

Value

logical

Details

This requires installation of ssh package.

See Also

Other public-server: server_connect()

Examples

Run this code
# NOT RUN {
library(outsider.base)

# NOT RUN
# }
# NOT RUN {
if (requireNamespace("ssh", quietly = TRUE)) {
  session <- ssh::ssh_connect(host = '[INSERT HOST IP]')
  server_connect(session = session)
  # run outsider.base commands, when finished
  server_disconnect()
}
# }

Run the code above in your browser using DataLab