isEof.connection

0th

Percentile

Checks if the current file position for a connection is at the 'End of File'

Checks if the current file position for a connection is at the 'End of File'.

Keywords
methods
Usage
# S3 method for connection
isEof(con, ...)
Arguments
con

A connection.

...

Not used.

Details

Internally seek() is used, which according to to the R help is discouraged on Windows. However, after many years of large-scale testing on various Windows versions and file systems we have yet to experience issues with using seek() on Windows.

Value

Returns a logical.

See Also

For more information see connection.

Aliases
  • isEof.connection
Documentation reproduced from package R.utils, version 2.8.0, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.