tag:blogger.com,1999:blog-24082283.post7115067125630033451..comments2024-02-07T05:26:45.500-05:00Comments on Yu-Sung Su's Blog: Link C with RYu-Sung Suhttp://www.blogger.com/profile/16723440380040533242noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-24082283.post-11475630692375588212008-09-28T22:31:00.000-04:002008-09-28T22:31:00.000-04:00Fabian,Thanks for your comment. Indeed, it works!...Fabian,<BR/><BR/>Thanks for your comment. Indeed, it works!Yu-Sung Suhttps://www.blogger.com/profile/16723440380040533242noreply@blogger.comtag:blogger.com,1999:blog-24082283.post-49267227632499131572008-09-17T08:43:00.000-04:002008-09-17T08:43:00.000-04:00Concerning your trouble with the RNG in C:you need...Concerning your trouble with the RNG in C:<BR/><BR/>you need to do<BR/> <BR/>getRNGstate();<BR/><BR/>once BEFORE you call the RNG in C for the first time and<BR/><BR/>putRNGstate();<BR/><BR/>before you return to R, that way continuity of the random number stream is ensured, AFAIK.Unknownhttps://www.blogger.com/profile/01419596318951890448noreply@blogger.com