[R] rgamma function
zuo at stat.wisc.edu
Sat Jul 14 04:55:44 CEST 2012
Has anyone encountered the problem of rgamma function in C? The
following simplified program always dies for me, and I wonder if anyone
can tell me the reason.
SEXP generateGamma ()
Has anyone encountered a similar problem before? Is there another way of
generating Gamma random variable in C?
P.S. I have no problem compiling and loading this function in R.
Thanks for suggestions in advance!
More information about the R-help