From ripley at stats.ox.ac.uk  Tue Mar 22 19:07:57 2005
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue Mar 22 19:08:06 2005
Subject: [Rd] documentation on seek *does not* need update
In-Reply-To: <C698D707214E6F4AB39AB7096C3DE5A58FF642@phost015.EVAFUNDS.intermedia.net>
References: <C698D707214E6F4AB39AB7096C3DE5A58FF642@phost015.EVAFUNDS.intermedia.net>
Message-ID: <Pine.LNX.4.61.0503221806150.30346@gannet.stats>

What went wrong when you misunderstood this?

On Tue, 22 Mar 2005, Vadim Ogranovich wrote:

> Well, "integer" is also a storage.mode in R. It is not immediately clear
> which meaning the help page uses. I guess some extra elaboration would
> be helpful.
>
> Anyway, thank you for the clarification,
> Vadim
>
>> -----Original Message-----
>> From: Prof Brian Ripley [mailto:ripley@stats.ox.ac.uk]
>> Sent: Tuesday, March 22, 2005 9:54 AM
>> To: Vadim Ogranovich
>> Cc: r-devel@stat.math.ethz.ch
>> Subject: Re: [Rd] documentation on seek *does not* need update
>>
>> On Tue, 22 Mar 2005, Vadim Ogranovich wrote:
>>
>>> Hi,
>>>
>>> I wondered how seek() deals with large (>2GB) files. The help says
>>> that the 'where' arg should be an integer, while the
>> release notes for
>>> 2.0.0 say
>>>
>>>    o	seek() on connections now accepts and returns a
>> double for the
>>> 	file position.	This allows >2Gb files to be handled on a
>>> 	64-bit platform (and some 32-bit platforms).
>>>
>>> I assume that the help file just had not been updated, correct?
>>
>> Not correct.  Integer is a concept, not the same as `int'.
>> The amount to seek by must be an integer, of course.
>>
>> C doubles (and R doubles) can be integers.
>>
>> --
>> 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 272866 (PA)
>> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>>
>
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

-- 
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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] documentation on seek *does not* need update
Prof Brian Ripley