R freezes under Windows while loading package
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