Displaying 1 result from an estimated 1 matches for "3gigabytefile".
2007 Aug 27
1
fix for broken largefile seek() on 32-bit linux (PR#9883)
...hn Brzustowski
Version: R-devel-trunk, R-2.4.0
OS: linux
Submission from: (NULL) (206.248.132.197)
DESCRIPTION
seek() on files larger than 2 gigabytes fails for large values of "where" on
i386 linux 2.6.13 (and presumably other 32-bit unix-like platforms).
e.g.:
> f<-file("3gigabytefile.dat", "rb")
> seek(f, 3e9, "start", "r")
[1] 0 ## correct
> seek(f, NA, "start", "r")
[1] 0 ## should be 3e+09
DIAGNOSIS
Typo: the compile-time tests for large file support use "HAVE_SEEKO" instead of
"HAVE_FSEEKO"...