I want to know if it\'s possible to call r statistics optimization function (here I want to use regnoud) from C# while the function to be optimized is written in C#. I fou
http://www.codeproject.com/Articles/25819/The-R-Statistical-Language-and-C-NET-Foundations
Check out something like this. Now I don't know much about C# so if I say anything that is impossible please don't hurt me:
Try to save the function that you want optimized as a character in C#, and send it to R using this StatConnector library (I have some limited experience with it.) Let's say you saved the equation as 'z' within R, you can then call your R scripts with 'get(z)' as one of the variables.