How extract R running result from C # program RRS feed

  • Question

  • I'm new .net programmer. I start working with R and all is fine. I want just tools to extract R results using c # language.

    In fact, I used package and It is fine when I call it to run R scripts in C#. 

    Here is my simple code below:


    using System; using System.Linq; using RDotNet; namespace Sample1 {    class Program    {        static void Main(string[] args)        {            REngine.SetEnvironmentVariables();                   

      REngine engine = REngine.GetInstance();           

    engine.Evaluate("source('C:/Users/isalah/Desktop/Fichiers_CRM/Modeles/MACHINE_LEARNING_FEATURE_ IMPORTANCE.r)"); }    } }

    But I need also to see graphs, numeric values.... which are executed by R scripts.

    Please, for those who were working in such projects including interaction between R and C#, give me useful links to help me

    if you know or advance me directly (packages, codes...).



    • Edited by user2018 Thursday, January 4, 2018 1:03 PM
    Thursday, January 4, 2018 1:01 PM

All replies