[R] linking C and R

From: Elizabeth Lawson <lizzylaws_at_yahoo.com>
Date: Thu 22 Dec 2005 - 06:45:09 EST


hey,    

  I am running R 2.0.1 on a the terminal of my MAC OS X and I have written some C code that I would like to use dynload to bring into R. When I try to compile the code i get the error R.defines.h no such file or directory. I know that the file is in resources/include but where do I have to move the file to so that the compiler can access it? I tried copying Rdefines.h and R_ext folders into the folder where the code is and using" #include "Rdefines.h" instead of #include <Rdefines.h>. I now get a different error R_ext/Memory.h: no such file or directory even though r_ext is in the folder.    

  Any suggestions?    

  Thanks,    

  Elizabeth Lawson


        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Dec 22 06:51:22 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:40 EST