From ripley at stats.ox.ac.uk  Tue Apr  1 07:43:27 2008
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 1 Apr 2008 06:43:27 +0100 (BST)
Subject: [Rd] Call R from C#
In-Reply-To: <3356.68.145.126.79.1207001264.squirrel@68.145.126.79>
References: <3356.68.145.126.79.1207001264.squirrel@68.145.126.79>
Message-ID: <alpine.LFD.1.00.0804010640560.9671@gannet.stats.ox.ac.uk>

On Mon, 31 Mar 2008, guox at ucalgary.ca wrote:

> I would like to call functions/objects of R from
> C#.NET environment. I was wondering whether or not
> it is possible. If yes, could you please give me some suggestions
> on how to approach it (any examples/documentation on this)? Thanks!

Yes, it is possible.  See the 'Writing R Extensions' manual -- you would 
effectivaly be embedding R into a .NET application.

BTW, this has come up several times, so I am surprised that your search of 
the lists archives did not find it.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] Call R from C#
Prof Brian Ripley