[Rd] Compiling "R Embedded" examples

Mauron Laurent (KETR 31) laurent.mauron at credit-suisse.com
Tue Mar 22 16:03:05 CET 2005


Hi,

Thanks for your suggestion. I re-compiled R-2.0.1 with gcc 3.3.2. but got exactly the same problem. 

I am very puzzled because the compilation of R is ok. Is there any piece of code that was succesfully compiled on my setup that could be used as an example of embedding R in C/C++ (tcltk for example?).

Thanks for your help,

Laurent


$gcc -v
Reading specs from /app/gcc_3.3.2/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/specs
Configured with: ../configure --prefix=/app/gcc_3.3.2 --with-local-prefix=/app/gcc_3.3.2 --enable-threads --enable-version-specific-runtime-libs : (reconfigured) ../configure --prefix=/app/gcc_3.3.2 --with-local-prefix=/app/gcc_3.3.2 --enable-threads --enable-version-specific-runtime-libs
Thread model: posix
gcc version 3.3.2

-----Original Message-----
From: Duncan Temple Lang [mailto:duncan at wald.ucdavis.edu]
Sent: 21 March 2005 20:01
To: Mauron Laurent (KETR 31)
Cc: 'r-devel at stat.math.ethz.ch'
Subject: Re: [Rd] Compiling "R Embedded" examples


Mauron Laurent (KETR 31) wrote:
> Hi,
> 
> I haven't made any progress regarding compiling the "R embedding" example ( http://tolstoy.newcastle.edu.au/R/devel/05/03/0143.htm ) and I am running out of ideas. 
> 
> I would be very grateful if someone could give me some reference or pointers where to look. In other words, how would you attack the problem if you were in the same situation?


I would install a different version of gcc (e.g. gcc-3.3.3) as that works on
one of the Solaris machines I use.

   SunOS 5.8 Generic_117000-05 sun4u sparc SUNW,Ultra-5_10


On that machine, all works fine.

> 
> Thanks for your help,
> 
> Laurent
> 
> ______________________________________________
> R-devel at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
Duncan Temple Lang                duncan at wald.ucdavis.edu
Department of Statistics          work:  (530) 752-4782
371 Kerr Hall                     fax:   (530) 752-7099
One Shields Ave.
University of California at Davis
Davis, CA 95616, USA



More information about the R-devel mailing list