Learn R Programming

R.utils (version 2.0.0)

isOpen.character: Checks if there is an open connection to a file

Description

Checks if there is an open connection to a file.

Usage

## S3 method for class 'character':
isOpen(pathname, rw=c("read", "write"), ...)

Arguments

pathname
rw
A character vector. If "read", a file is considered to be open if there exist an open connection that can read from that file.
...
Not used.

Value

See Also

See isOpen() in connections. showConnections().