[R] using Rmath in c-functions of R packages

Volodymyr Melnykov volmeln at iastate.edu
Wed Apr 22 03:39:14 CEST 2009


Dear all,

We have created an R package and submitted it to C-RAN. The package
includes several C functions that use Rmath library. The package cannot
be installed on a computer where -lRmath is not found. We were
suggested to do a configure test for this but I am not really sure how
to do this and where to read about this. What is a usual way to
deal with R packages with c-functions using Rmath?

Thank you,

Volodymyr Melnykov




More information about the R-help mailing list