Re: [Rd] R routine standalone

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Tue, 26 Jun 2007 08:37:30 +0100 (BST)

You have not told us your OS nor version of R.

The file src/nmath/standalone/README in the R sources will either tell you how to do this or point you to the current documentation (depending on the R version).

At a guess (since you use 'project' and don't have the correct case on your file names) you are working with Visual Studio or similar under Windows. In that case you are on your own: the R developers only support the use of MinGW on Windows (but see README.packages for some hints which you should be able to adapt to link to Rmath.dll).

On Mon, 25 Jun 2007, Gatsu wrote:

> I'm writing a C program and I'd like to include in it
> some R routine (quantile functions, typically).
>
> I found the functions I have to use (qnorm.c qbeta.c
> ecc) e some include (nmath.h rmath.h ecc).
>
> But I can't compile the project, I receive linker
> error.
>
> Somebody can help me?
>
> I say, if I want to include qbeta (for example) in a
> project of mine, what should I do?
>
>
> ___________________________________
>
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Tue 26 Jun 2007 - 07:41:20 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 26 Jun 2007 - 09:35:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.