From hintak_leung at yahoo.co.uk  Sat Oct 15 20:35:36 2011
From: hintak_leung at yahoo.co.uk (Hin-Tak Leung)
Date: Sat, 15 Oct 2011 19:35:36 +0100 (BST)
Subject: [Rd] gctorture() and gzfile() doesn't get along.
In-Reply-To: <1318703579.81858.YahooMailClassic@web29515.mail.ird.yahoo.com>
Message-ID: <1318703736.66480.YahooMailClassic@web29513.mail.ird.yahoo.com>

--- 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.



[Rd] gctorture() and gzfile() doesn't get along.
Hin-Tak Leung