Re: [R] c code working in linux and hanging in windows

From: Ben Bolker <>
Date: Wed, 30 Apr 2008 13:03:57 +0000 (UTC)

Vidhu Choudhary <vidhu.choudhary <at>> writes:

> Hi All,
> I am calling some c code from R.
> It successfully makes the dll and .so files.
> When I run .so in Linux is works prefect but hangs in windows. Though the
> dll loads but it never returns back from the c function
> Can you please suggest the possible cause of this
> thank you
> vidhu

   This isn't enough detail for us to work with (you might have gotten lucky and this problem would have rung a bell for someone, but I guess not). Therefore, you need to go back and do the hard stuff -- try to create a minimal example (you will often figure out the problem in the process), tell us what versions of R, compiler, OS you are using, etc etc etc ...

  Ben Bolker mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Wed 30 Apr 2008 - 13:53:44 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 30 Apr 2008 - 14:30:34 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive