Functions to re-position connections.
seek(con, …)
# S3 method for connection
seek(con, where = NA, origin = "start", rw = "", …)<p></p><p>isSeekable(con)</p><p>truncate(con, …)</p>
| Parameter | Description |
|---|---|
con |
a connection. |
where |
numeric. A file position (relative to the origin specified by origin), or NA. |
rw |
character string. Empty or "read" or "write", partial matches allowed. |
origin |
character string. One of "start", "current", "end": see ‘Details’. |
… |
further arguments passed to or from other methods. |