Hi Sebastian,
thanks for reply. I look at JNI, IKVM, webservices and it look great.At this point I decrease my goals and I try using rapidminer in C# app rather than integrating.I choose simple solution via System.Diagnostics.Process.Start() method. However there is some sort of tedious problem. When i run the code in C# in Visual studio 2008 or directly from comand line, it ends up with error:
[Fatal] Cannot read config file C:/Program Files/Rapid-I/RapidMiner/scripts/01_ParameterOptimization.xml! Here is the source code:
static void Main(string[] args)
{
ProcessStartInfo Info = new ProcessStartInfo("C:/Program Files/Rapid-I/RapidMiner/scripts/rapidminer.bat");
Info.UseShellExecute = false;
Info.ErrorDialog = false;
Info.CreateNoWindow = true;
Info.RedirectStandardOutput = true;
Info.Arguments = "C:/Program Files/Rapid-I/RapidMiner/scripts/01_ParameterOptimization.xml";
Process p = System.Diagnostics.Process.Start(Info);
System.IO.StreamReader oReader2 = p.StandardOutput;
string sRes = oReader2.ReadToEnd();
oReader2.Close();
//All the external programs output is now in sRes
Console.WriteLine(sRes);
Console.ReadLine();
}
I cant imagine where is the bug.In Java via metod RapidMiner. init() and process.run() everything works well.
Cheers,
Andrew