Skip to content
Prev 10268 / 12125 Next

[R-pkg-devel] CRAN uses an old version of clang

Not really responding the question, however another way could be to 
consider if your code is in Rcpp and calls to bessel and gamma function 
are not very frequent. These functions are available in base R and as 
such are callable via Function():

 > Rcpp::evalCpp('Function("besselK")(1., 0.2)')
[1] 0.42722
 > Rcpp::evalCpp('Function("gamma")(4)') # 3!
[1] 6

https://teuder.github.io/rcpp4everyone_en/230_R_function.html#function


Best,
Serguei.

Le 09/02/2024 ? 15:59, Marcin Jurek a ?crit?: