Skip to content
Back to formatted view

Raw Message

Message-ID: <20230825194021.2090471a@arachnoid>
Date: 2023-08-25T16:40:21Z
From: Ivan Krylov
Subject: [R-pkg-devel] Problem calling R random number generator from Fortran
In-Reply-To: <bf7ed784-809c-d762-2e04-a204dffa0db5@wisc.edu>

? Fri, 25 Aug 2023 11:27:46 -0400
Stephen Meyers <srmeyers2 at 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