Also:
edd@max:/tmp$ cat faheem.cpp
#define MATHLIB_STANDALONE
#include <Rmath.h>
#include <iostream>
using std::cout;
using std::endl;
int main(void)
{
set_seed(0, 0);
cout << "one normal " << norm_rand() << endl;
}
edd@max:/tmp$ g++ -o faheem faheem.cpp -lRmath; ./faheem
one normal -inf
edd@max:/tmp$
It should be more tolerant to (0,0), I presume. In any event, if ther eis a
bug (in terms of this not being documented), there is nothing Debian-specific
here and stricly nothing I can do for you.
I suggest to close this, and encourage you to report this on r-devel.
Dirk
--
"Outside of a dog, a book is a man's best friend. Inside of a dog, it is too
dark to read." -- Groucho Marx
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]