Learn R Programming

R.utils (version 2.9.0)

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, ...)

Arguments

...

Not used.

Value

Returns a logical.

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.