Skip to content
Prev 26495 / 398502 Next

GetRNGstate() crashes with 'Segmentation fault'

Whyever do you think that should work?

If you want to link against libR.so and call into R, you do need to
initialize R, and you have not done so.

I also don't see that the program has any use.  The complicated ways to
manipulate the random number generator are really only of any use from R
code (via C code, perhaps).
On Fri, 20 Dec 2002, Timur Elzhov wrote: