From dtemplelang at ucdavis.edu  Wed Apr 15 19:57:58 2015
From: dtemplelang at ucdavis.edu (Duncan Temple Lang)
Date: Wed, 15 Apr 2015 10:57:58 -0700
Subject: [Rd] RObjectTables freezes in R 3.2.0 RC on 32bit systems
In-Reply-To: <CABFfbXtH_TLkGTPtFYtvmZvehN1rCXkb8_Ly_g4OJHOmZJK93g@mail.gmail.com>
References: <CABFfbXtH_TLkGTPtFYtvmZvehN1rCXkb8_Ly_g4OJHOmZJK93g@mail.gmail.com>
Message-ID: <552EA6A6.2020806@ucdavis.edu>

Thanks for the report.
I'll take a look at this, but it will take a week or so before I have time.

Best,
 Duncan

On 4/14/15 6:29 PM, Jeroen Ooms wrote:
> We recently started noticing freezes that appear only on 32bit systems
> (both linux and windows) with a relatively recent versions of R 3.2.0,
> including the RC. It looks like the problem can be traced back to the use
> of R_ObjectTables (see R_ext/Callbacks.h)
> 
> The problem is a bit difficult to reproduce because it does not appear on
> x64 and because the official R interface to this functionality, the
> RObjectTables package from OmegaHat, is no longer maintained. I created a
> slightly updated version of RObjectTables package (added a NAMESPACE file)
> to reproduce the problem:
> 
>   devtools::install_github("jeroenooms/RObjectTables")
> 
> The problem can be triggered using the included example from the
> DirectoryObjectTable manual.
> 
>   library(RObjectTables)
>   db <- DirectoryObjectTable(tempdir())
>   dbwrite(db, "x", 1:10)
>   dbwrite(db, "y", letters[1:3])
>   dbobjects(db)
>   dbread(db, "x")
>   attach(newRFunctionTable(db), name = "myRData")
> 
> Things work as expected up till dbread(), but once the object-table is
> attached, R freezes on 32bit whereas it works as expected on 64bit.
> 
> The same problem appears for other packages that are calling the object
> tables C interfaces directly without using the RObjectTables R package.
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 

-- 
Director, Data Sciences Initiative, UC Davis
Professor, Dept. of Statistics, UC Davis

http://datascience.ucdavis.edu
http://www.stat.ucdavis.edu/~duncan



[Rd] RObjectTables freezes in R 3.2.0 RC on 32bit systems
Duncan Temple Lang