From smanz at ix.urz.uni-heidelberg.de  Wed May  3 18:47:51 2006
From: smanz at ix.urz.uni-heidelberg.de (Seb)
Date: Wed, 3 May 2006 18:47:51 +0200
Subject: [Rd] R freezes under Windows while loading package
In-Reply-To: <4458BCAF.80704@stats.uwo.ca>
References: <Pine.A41.4.42.0605031551350.48928-100000@aixterm6.urz.uni-heidelberg.de>
	<4458BCAF.80704@stats.uwo.ca>
Message-ID: <20060503184751.5a4c69c7@localhost>

On Wed, 03 May 2006 10:22:39 -0400
Duncan Murdoch <murdoch at stats.uwo.ca> wrote:

> On 5/3/2006 10:14 AM, Sebastian Manz wrote:
> > Hi,
> > 
> > we build this R package using C++ code and under linux it works
> > fine. After installing:
> > - R version 2.2.1
> > - minGW gcc version 3.4.2
> > - perl version 5.8.8
> > it finally compiled under Windows as well. But, if we try to load
> > the library, R freezes without stressing the CPU.
> > 
> > Maybe someone had a similar problem and now has a simple solution
> > for it.
> 
> Presumably the problem is in the DLL.  Can you use dyn.load() to load
> it manually?  If so, you can set a debug breakpoint on each entry
> point, and see where things are going wrong.  Instructions for doing
> C-level debugging under Windows are on my web page,
> 
> http://www.stats.uwo.ca/faculty/murdoch/software/debuggingR/
> 
> and more general-purpose instructions are in the Writing R Extensions 
> manual in 2.3.0.
> 
> Duncan Murdoch

Thank you very much for your fast reply.

The problem is found. It had something to do with a library we're
using. 

Sorry we bothered you,
Sebastian Manz



[Rd] R freezes under Windows while loading package
Seb