Learn R Programming

R.utils (version 2.12.3)

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

Description

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

Usage

# S3 method for connection
isEof(con, ...)

Value

Returns a logical.

Arguments

con

A connection.

...

Not used.

Author

Henrik Bengtsson

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.

See Also

For more information see connection.