[R] R-package and configure

Laurent Gautier laurent at cbs.dtu.dk
Mon Oct 15 10:31:15 CEST 2001


Dear R-helpers,



I have been trying to use the 'configure' feature offered to package
writters... but could make it work.
The matter may have been discussed before, and a rtfm answer with the
place the answer is found is perfect (but I read the 'writing R
extensions' manual).

The problem is:

In my C code I have code conditional to a defined macro. I used autoconf
the naive way (I am not an autoconf wizard) but the Makefile generated
seems of no use. Forgetting the use of something like 'DEFS=@DEFS@' I
tried to append say ' -DHAVE_ZLIB' to the 'CFLAGS' variable but it did
not give anything.
(note: I am using R-1.3.0... I plan to update)

Any idea ? 


Thanking in advance...




Laurent



-- 
Laurent Gautier			CBS, Building 208, DTU
PhD. Student			D-2800 Lyngby,Denmark	
tel: +45 45 25 24 85		http://www.cbs.dtu.dk/laurent
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list