This function returns a vector of strings that is the entire output of the remote system since the last call to execute

printout(connection, split = "\n")

Arguments

connection

An Rsch_connection object

split

passed on to strsplit UNLESS the value is NA in which case a single string will be returned. The default is \n

Value

generally a vector of strings representing the console output resulting from the last command issued to execute.

Examples

# NOT RUN {
connection <- get_connection(host = "cuckoo.lbnl.gov", user = "cliff", password = "TopSecret")
execute(connection,"grep \"nuclear\" /*")
results <- printout(connection)

# }