Displaying 1 result from an estimated 1 matches for "maskedb0_lia".
2011 Sep 23
2
Issue with seek() on gzipped connections in R-devel
...'t seem to occur all the time - I tried to create a
small example file to illustrate it, but the problem didn't occur.
However, it can be seen with a file I use for testing my packages,
which is available through the URL
<https://github.com/jonclayden/tractor/blob/master/tests/data/nifti/maskedb0_lia.nii.gz?raw=true>:
> con <- gzfile("~/Downloads/maskedb0_lia.nii.gz","rb")
> seek(con, 352)
[1] 0
Warning message:
In seek.connection(con, 352) :
seek on a gzfile connection returned an internal error
> seek(con, NA)
[1] 190
The same commands with the same file...