isOpen.character

0th

Percentile

Checks if there is an open connection to a file

Checks if there is an open connection to a file.

Keywords
methods, utilities, IO
Usage
## S3 method for class 'character':
isOpen(pathname, rw=c("read", "write"), ...)
Arguments
pathname
An character string.
rw
A character vector. If "read", a file is considered to be open if there exist an open connection that can read from that fi
...
Not used.
Value

See Also

See isOpen() in connections. showConnections().

Aliases
  • isOpen.character
  • isOpen.character
Documentation reproduced from package R.utils, version 1.7.3, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.