Quantcast
Channel: R.NET
Viewing all articles
Browse latest Browse all 1634

New Post: Getting summary() output to C#

$
0
0
Since we don't have your data, its difficult to reproduce your problem exactly. If you could build the most minimal example around mtcars, that would be helpful.

If I do this,
            var engine = REngine.GetInstance();
            engine.Evaluate("tree <- c(1,2,3,4,5,6,7,8,9)");
            GenericVector summary2 = engine.Evaluate("summary(tree)").AsList();
I get the correct result in summary2, so we know that the RDotNet layer is working. I would assume that there's a syntax issue with your code or something similar. Ensure that you have enabled break on execeptions in your debugger, or are catching and logging the RDotNet exceptions.

Viewing all articles
Browse latest Browse all 1634

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>