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 ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel