From ripley at stats.ox.ac.uk  Mon May 10 13:02:00 2010
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Mon, 10 May 2010 12:02:00 +0100 (BST)
Subject: [Rd] Use of R in C#
In-Reply-To: <C3D16A4C8BD3F843860C73573C70DD952E255192@TK5EX14MBXC103.redmond.corp.microsoft.com>
References: <C3D16A4C8BD3F843860C73573C70DD952E255192@TK5EX14MBXC103.redmond.corp.microsoft.com>
Message-ID: <alpine.LFD.2.00.1005101201010.5880@gannet.stats.ox.ac.uk>

This is not about R, but about the StatConnector project which has its 
own mailing lists.

On Fri, 7 May 2010, Jeff Abrams wrote:

> I have a C# program that requires the run of a logistic regression.  I have downloaded the R 2.11 package, and have added the following references to my code:
>
> STATCONNECTORCLNTLib;
> StatConnectorCommonLib;
> STATCONNECTORSRVLib;
>
> In my code I have:
> StatConnector scs = new STATCONNECTORSRVLib.StatConnectorClass();
> scs.Init("R");
>
> The init step returns the below error which seems to indicate a connection failure.
>
> System.Runtime.InteropServices.COMException was unhandled
>  Message="Exception from HRESULT: 0x80040013"
>  Source="Interop.STATCONNECTORSRVLib"
>  ErrorCode=-2147221485
>
> Any ideas?
>
>
> Jeff Abrams
> Research Engineer
> Auction Analytics, Microsoft
>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
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] Use of R in C#
Prof Brian Ripley