From ripley@stats.ox.ac.uk  Tue Nov 27 17:32:49 2001
From: ripley@stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 27 Nov 2001 17:32:49 +0000 (GMT)
Subject: [Rd] seek helppage.  Possible clarification?
In-Reply-To: <87zo58dt3q.fsf@jeeves.blindglobe.net>
Message-ID: <Pine.LNX.4.31.0111271730130.12944-100000@gannet.stats>

It's usual to put values in the Value: section, and indeed it is described
there.  I am not sure why I would expect it in Details: too.

Looks like `positive' is out-of-date, though.

On 27 Nov 2001, A.J. Rossini wrote:

>
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] seek helppage. Possible clarification?
Prof Brian Ripley