[R-pkg-devel] Problem calling R random number generator from Fortran

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Fri Aug 25 18:40:21 CEST 2023


В Fri, 25 Aug 2023 11:27:46 -0400
Stephen Meyers <srmeyers2 using wisc.edu> пишет:

> /error: implicit declaration of function 'rand_unif' is invalid in
> C99 [-Werror,-Wimplicit-function-declaration]// //double
> F77_SUB(getunif)(void) { return rand_unif(); 

I think you meant unif_rand(), not rand_unif():
https://cran.r-project.org/doc/manuals/R-exts.html#Random-numbers

-- 
Best regards,
Ivan



More information about the R-package-devel mailing list