[Rd] Use of R in C#
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon May 10 13:02:00 CEST 2010
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
More information about the R-devel
mailing list