Displaying 1 result from an estimated 1 matches for "loadfromconnection".
2006 Oct 02
0
2.3.1: interacting bugs in load() and gzfile() (PR#9271)
...quot;x"
## this should have loaded the object "y", which according to the earlier call to seek()
## begins at file offset 88.
========================================================================================
ANALYSIS
There are two minor bugs here:
1. The internal function loadFromConnection() incorrectly closes a
connection that was already open when it was called, instead of
closing a connection that was *not* already open.
2. gzfile() sets a class of its return value to "file", rather than
"gzfile":
> f <- gzfile("whatever.gz", &quo...