On 21/04/2009 9:39 PM, Volodymyr Melnykov wrote:
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?

I thought that the functions in libRmath are extracted from R, which packages normally link to without any special effort. You only need Rmath if you are writing a standalone C program, not if you are writing an R package.

Duncan Murdoch

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to