Skip to content

build R on Mac OS X as a shared library

2 messages · Laetitia Marisa, stefano iacus

#
Hello,

I have been trying to compile R sources in order to use it in java 
programs. So I have read in the FAQ for the R-Java Interface that R 
should be built as a shared library (libR.so) by adding to the ./compile 
command " --enable-R-shlib.

As a result, I have tried to install it in the unix way proposed but it 
generated a lot of errors. Then I have tried to install it as it is 
adviced in the R-1.5.0 -> src ->macintosh-> Install, but it occured to 
be so difficult that I didn't manage to do what they explain.

So did someone succeed in installing R as a shared library that migth 
take time to explain me in a simple way how to do this.

Thanks a lot.

Laetitia



~*~*~~*~*~~*~*~~*~*~~*~*~~*~*~~*~*~~*~*~~*~*~
MARISA Laetitia
Institut Pasteur
Unité Génétique des Génomes Bactériens
28, rue du Docteur Roux
75724 Paris cedex 15

Mel: lmarisa@pasteur.fr
~*~*~~*~*~~*~*~~*~*~~*~*~~*~*~~*~*~~*~*~~*~*~
#
On Lunedì, giugno 3, 2002, at 06:19 , Laetitia Marisa wrote:

            
what is inside src/macintosh/INSTALL refers to the Carbon build of R. 
This port of R cannot be built as a shared library.

Jan de Leeuw is probably the one who can help you with the Darwin 
version (the unix way). I never built R as a shared library, sorry.

stefano