Skip to content
Prev 106534 / 398513 Next

seek() - What is the largest integer that can be used?

This is discussed in the R-admin manual.  You cannot use integers, and 
'where' is documented as numeric, not integer.  You may have to set 
options at configure time, depending on your OS (although recent versions 
of R are good at figuring these out).

On decent 32-bit OSes this does work.  You haven't studied the posting 
guide and hence failed to tell us what yours is, nor have you provided
(Nor have you told us your R version.)
On Fri, 22 Dec 2006, Steven Hansen wrote:

            
That will not work unless your OS supports seek on files > 2GB, in which 
case direct seek should work.