From guillaume.yziquel at citycable.ch  Thu Jan 28 18:49:25 2010
From: guillaume.yziquel at citycable.ch (Guillaume Yziquel)
Date: Thu, 28 Jan 2010 18:49:25 +0100
Subject: [Rd] Problem with R math library.
In-Reply-To: <19297.51235.545749.866650@ron.nulle.part>
References: <4B617735.9010204@citycable.ch>	<19297.33736.990250.454097@ron.nulle.part>	<4B618A52.6080805@citycable.ch>	<4B61C255.7060500@citycable.ch>
	<19297.51235.545749.866650@ron.nulle.part>
Message-ID: <4B61CE25.7040805@citycable.ch>

Dirk Eddelbuettel a ?crit :
>
> | Concerning dependencies: compile against only libRmath.so. Not against 
> | libR.so. (I wonder why this is so crucial, though...)
> 
> By design as libRmath is meanth to __standalone__ hence indepdent of R. This
> is a a feature.  
> 
> This is probably not what _you_ want as you are embedding R, so you need libR.

Well, yes and no.

I've been rewriting an OCaml-R binding from Maxence Guesdon, which was 
only scratching the surface of the API. (Not meaning to depreciate his 
work: it indeed had the merit of existing and being approximately 
functional).

And he had a binding to embed R, and simultaneously a binding of the 
standalone mathematical library.

I'm trying to make a significant upgrade of his binding, and to avoid 
regressions, I'm wrapping the standalone R mathlib. That's why...

Nevertheless, I'll have to think at one point in time of bringing the 
libRmath.so functionality to the part of my library that embeds R, as 
you pointed out.

-- 
      Guillaume Yziquel
http://yziquel.homelinux.org/



[Rd] Problem with R math library.
Guillaume Yziquel