Aliases: showConnections getConnection getAllConnections closeAllConnections stdin stdout stderr nullfile isatty
Keywords: connection
### ** Examples showConnections(all = TRUE)
description class mode text isopen can read can write 0 "stdin" "terminal" "r" "text" "opened" "yes" "no" 1 "stdout" "terminal" "w" "text" "opened" "no" "yes" 2 "stderr" "terminal" "w" "text" "opened" "no" "yes" 4 "" "file" "w+b" "binary" "opened" "yes" "yes"
## Not run: ##D textConnection(letters) ##D # oops, I forgot to record that one ##D showConnections() ##D # class description mode text isopen can read can write ##D #3 "letters" "textConnection" "r" "text" "opened" "yes" "no" ##D mycon <- getConnection(3) ## End(Not run) c(isatty(stdin()), isatty(stdout()), isatty(stderr()))
[1] FALSE FALSE FALSE