[Rd] seek helppage. Possible clarification?

A.J. Rossini rossini@u.washington.edu
27 Nov 2001 09:24:57 -0800


seek(zz,where=NewPosition)   returns the OldPosition of connection zz
(of the appropriate "pointer", i.e. read or write).  Currently, the
docs have:

> Details:
> 
>     `seek' with `where = NA' returns the current byte offset of a
>     connection (from the beginning), and with a positive `where'
>     argument the connection is re-positioned (if possible) to the
>     specified position.


One possible change would be to:


> Details:
>
>     `seek' with `where = NA' returns the current byte offset of a
>     connection (from the beginning), and with a positive `where'
>     argument the connection is re-positioned (if possible) to the
>     specified position, returning the previous position.

(since seek() seems to return "current/previous position", at least
for the variants I seem to use).

best,
-tony

-- 
A.J. Rossini				Rsrch. Asst. Prof. of Biostatistics
U. of Washington Biostatistics		rossini@u.washington.edu	
FHCRC/SCHARP/HIV Vaccine Trials Net	rossini@scharp.org
-------------- http://software.biostat.washington.edu/ --------------
FHCRC: M-W: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email
UW:   T-Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX
Rosen: (Mullins' Lab) Fridays, and I'm unreachable except by email.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._