Displaying 1 result from an estimated 1 matches for "genrngstate".
2005 Jun 28
1
GetRNGstate() crashes in Windows
...hout crashing in a Windows environment (spec. XP)? I've compiled
successfully using both the latest Cygwin, latest Mingw, and the version
of Mingw suggested in "Building R for Windows" website, but when the
executable runs, it crashes; the functions themselves can run when I omit
GenRNGstate()/PutRNGstate, but return the same values every time. My
compilation command is, having copied R.dll to my current directory:
gcc -o prog.exe prog.c -I{R's include path} R.dll
I've also tried:
gcc -o prog.exe prog.c -I{R's include path} -L./ -lR
I've managed to successfully co...