[Rd] gctorture() and gzfile() doesn't get along.

Hin-Tak Leung hintak_leung at yahoo.co.uk
Sat Oct 15 20:35:36 CEST 2011


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



More information about the R-devel mailing list