Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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 class '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.

Author(s)

Henrik Bengtsson

See Also

For more information see connection.


R.utils

Various Programming Utilities

v2.10.1
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.