[Rd] (no subject)

From: Michelle.Carey <Michelle.Carey_at_ul.ie>
Date: Tue, 28 Jun 2011 14:58:57 +0100


I am trying to write code in C for an R package. I need high precision in the form of the mpfr and gmp packages. I have installed mpfr and gmp under the instructions of the following website http://pauillac.inria.fr/cdrom_a_graver/prog/pc/mpfr/eng.htm and I get no errors. I have put the header files (mpfr.h and gmp.h) in the folder C:\Program Files\R\R-2.13.0\include; allowing my c code to identify the header files by incorporating include<gmp.h> and include<mpfr.h>. Unfortunately when I try to include any of the functions listed in the header file I get compile error stating that these functions are undeclared, even though the source code is in the same directory as my c code that I am trying to compile. Any help on this matter would be greatly appreciated.  

Kind Regards,

Michelle Carey  

        [[alternative HTML version deleted]]

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 28 Jun 2011 - 14:19:38 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

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 28 Jun 2011 - 15:50:25 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.

list of date sections of archive