Re: [Rd] Library file for the R engine in Windows?

From: Christos Hatzis <christos_at_nuverabio.com>
Date: Tue 05 Dec 2006 - 06:38:19 GMT


Sorry. I found the answer in an earlier post by Prof. Ripley. I must have not searched the archives hard enough.  

http://tolstoy.newcastle.edu.au/R/e2/devel/06/10/0723.html  

-Christos


From: Christos Hatzis [mailto:christos@nuverabio.com] Sent: Monday, December 04, 2006 4:43 PM
To: 'r-devel@r-project.org'
Subject: Library file for the R engine in Windows?

Hi,  

I am trying to use dynamic memory allocation in the C code to be called by R through the .C interface.
I have used R_alloc as explained in the Writing R Extensions and included the R.h header.
The program compiles fine but fails when linking. Obviously it needs a library file where R_alloc is found.
I have tried to link by adding R.dll to list of files at the end of the link command but that did not work either.  

The S Programming book mentions that a library Rdll.lib needs to be built from source, but I am not sure
if this is still the recommended route.  

I am using Microsoft Visual C++ Toolkit in Windows XP Pro. Thank you for any advice.  

Christos Hatzis, Ph.D.
Nuvera Biosciences, Inc.
400 West Cummings Park
Suite 5350
Woburn, MA 01801
Tel: 781-938-3830
www.nuverabio.com <http://www.nuverabio.com/>    

        [[alternative HTML version deleted]]



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue Dec 05 17:43:19 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 05 Dec 2006 - 12:30:53 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.