using R in .NET apps
On Tue, 2 Nov 2004, Siddique, Amer wrote:
I am writing a windows XP app which utilizes the .NET framework. my language is VB.NET. the Visual basic (VB) compiler will translate VB source code into microsoft intermediate language (MSIL), thus producing native code on XP. if I have a multi-tier app with a lower layer datastore (IBM Informix using ODBC) and a middle tier (for logic and computation), I would like to incorporate R functionality at this stage and send output to the front end (display charts, etc.). Currently, the .NET IDE incorporates the "Crystal Report" engine for such needs. I would like to use R in a similar manner. Perhaps I could expose it as a windows service (using DCOM?), thus allowing me to programmaticaly
Yes, and that is in the appropriate FAQ, Q2.16. (The R posting guide does ask you to consult the FAQs.)
access its abilities within the .NET framework. HTH. Amer
-----Original Message----- From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk] Sent: Tuesday, November 02, 2004 11:45 AM To: Siddique, Amer Cc: 'r-help at stat.math.ethz.ch' Subject: Re: [R] using R in .NET apps On Tue, 2 Nov 2004, Siddique, Amer wrote:
looking for some thoughts on incorporating R functionality to create histograms of data stored in an informix db. im gonna write the app
in .Net
and will use a managed provider to access the data. what R libs might I
have
to package in the assemblies? (sorry my Q is general as Ive only just
looked
at wanting this yet)
Could you translate the question into English? My guess is that you are writing in a lower-cased version of some Microsoft internal language, but you don't even mention that this is for Windows (if it is). -- 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
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