Display aspects of connections.
showConnections(all = FALSE)
getConnection(what)
closeAllConnections()<p></p><p>stdin()
stdout()
stderr()
nullfile()</p><p>isatty(con)</p>
| Parameter | Description |
|---|---|
all |
logical: if true all connections, including closed ones and the standard ones are displayed. If false only open user-created connections are included. |
what |
integer: a row number of the table given by showConnections. |
con |
a connection. |
# NOT RUN {
showConnections(all = TRUE)
# }
# NOT RUN {
textConnection(letters)
# oops, I forgot to record that one
showConnections()
# class description mode text isopen can read can write
#3 "letters" "textConnection" "r" "text" "opened" "yes" "no"
mycon <- getConnection(3)
# }
# NOT RUN {
c(isatty(stdin()), isatty(stdout()), isatty(stderr()))
# }