[Mono-list] MONO & R

Jacek Rużyczka stacheldraht at interia.pl
Thu Jul 8 10:37:27 EDT 2010


Hello,

Am Donnerstag 08 Juli 2010 16:16:14 schrieb jmalcolm:
> Are you trying to call R from C# or are you hoping to call into C# from R?
> 
I'm gonna try out such a scenario in a couple of months.

> Mono calls out to C style libraries just as .NET does on Windows:
> PInvoke/DLLImport.
> 
> Calling a C style library from C# is very straight forward although of
> course you lose the cross-platform nature of Mono unless the same library
> is available natively on every platform.
> 
This, in fact, may be an issue. Although R is regarded as «cross-platform», it 
does rely on native DLLs.

In fact, I suppose I will call R as a native process by using 
Process.Start("R") in batch mode. This is rather quick & dirty *sigh*, but in 
fact cross-platform.

> Calling out to Mono assemblies from R is not something I am familiar with.
> 
I only know that there is a Java binding for R (which is a nightmare to 
install), but I have never heard of a .NET binding.

Cheers
Jacek Rużyczka

-------------------------------------------------
Atrakcyjne mieszkania i dzialki. Sprawdz oferty!
http://linkint.pl/f277d



More information about the Mono-list mailing list