Package: r-mathlib Version: 2.14.1-1 Severity: normal
Hi Dirk, The following C++ code hangs, with both r-mathlib 2.11.1-6 and 2.14.1-1. The problem is the rgamma function, but I have not attempted to debug it. Any idea what is going on here? Thanks. #define MATHLIB_STANDALONE #include <Rmath.h> #include <iostream> using std::cout; using std::endl; // double rgamma(double a, double scale) // Input: a = parameter (mean) of the standard gamma distribution. int main(void) { set_seed(0, 0); cout << "gets to here" << endl; rgamma(1, 1); } -- System Information: Debian Release: 6.0.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable'), (50, 'unstable'), (50, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-vserver-686-bigmem (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages r-mathlib depends on: ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libgomp1 4.7-20111231-1 GCC OpenMP (GOMP) support library Versions of packages r-mathlib recommends: ii r-base-core 2.11.1-6 GNU R core of statistical computat pn r-base-dev <none> (no description available) r-mathlib suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org