Oct 7, 2015 at 3:24 PM
Edited Oct 7, 2015 at 3:31 PM
I'm able to start REngine in a .Net 4.5 Console Application in C#. Then I let a script running using source().
engine.Evaluate("source('" + rFile + "', local = " + env+ ")");
This works fine and I get some output on my console, e.g. when a package is loaded but I'd like to get some more output.
In the examples I only found str() to get some output on my console (not the R console and also not the R Studio console but the application console coming from Visual Studio). Using str() only gives me a short overview which is great at times but right now
I'd like to see every entry of my variable. I want to get the full output of a variable, e.g. in R I would type the variable's name. However when I type just the variable's name in my R-file and source() this file from C# I don't get any output on my console
I can get the variables output with REnginge by
engine.Evaluate("with(" + env + ", variableName)");
Is there any simple way I get the variable's output from a R file that's being source()ed? I read about writing your own console (https://rdotnet.codeplex.com/discussions/261917
I think there might be an other way to just to display a variable, right?