Description Usage Arguments Value Examples
Create an ssh session to OpenSky Network’s Impala shell.
1 2 3 4 5 6 7 | osn_connect(
usr,
passwd = askpass,
host = "data.opensky-network.org",
port = 2230,
verbose = FALSE
)
|
usr |
user account |
passwd |
either a string or a callback function for password prompt |
host |
an ssh server string of the form |
port |
port to connect to |
verbose |
either TRUE/FALSE or a value between 0 and 4 indicating log level: 0: no logging, 1: only warnings, 2: protocol, 3: packets or 4: full stack trace. |
an SSH session
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# connect directly to OSN
session <- osn_connect("cucu", verbose = 2)
# connect via SSH port forwarding
session <- osn_connect_osn(
usr = Sys.getenv("OSN_USER"),
passwd = Sys.getenv("OSN_PASSWORD"),
port = 6666,
host = "localhost"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.