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]]

