Found the simpliest way of seeing I bug I encountered doing "R CMD check --use-gct": Just launch R (with --vanilla), and do this:> ?gctorture# this work> gctorture() > ?gctortureError in gzfile(file, "rb") : can only weakly reference/finalize reference objects # this does not It seems that when gctorture() is on gzfile() doesn't work.
--- On Sat, 15/10/11, Hin-Tak Leung <htl10 at users.sourceforge.net> wrote:> Found the simpliest way of seeing I > bug I encountered doing "R CMD check --use-gct": Just launch > R (with --vanilla), and do this: > > > ?gctorture > # this work > > gctorture() > > ?gctorture > Error in gzfile(file, "rb") : > ? can only weakly reference/finalize reference > objects > # this does not > > > It seems that when gctorture() is on gzfile() doesn't > work.Forgot to mentioned that this was first seen with R svn, but I am getting it with R 2.13.2 as well. Don't know when the bug got in, but it is not the first time I ran --use-gct (a year or two ago?) and it used to work.
Thanks, now fixed. It affected almost all connections. Simon On Oct 15, 2011, at 2:32 PM, Hin-Tak Leung wrote:> Found the simpliest way of seeing I bug I encountered doing "R CMD check --use-gct": Just launch R (with --vanilla), and do this: > >> ?gctorture > # this work >> gctorture() >> ?gctorture > Error in gzfile(file, "rb") : > can only weakly reference/finalize reference objects > # this does not > > > It seems that when gctorture() is on gzfile() doesn't work. > > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > >