How to use knit function in R.Net

Jun 21, 2016 at 1:29 PM
Edited Jun 21, 2016 at 1:30 PM
I am trying to use Markdown files for generating reports and some plots but getting "StackOverFlowException" when I try to execute below line of code in my application
_engine.Evaluate("require(knitr)");
_engine.Evaluate("require(markdown)");
_engine.Evaluate("library(knitr)");
_engine.Evaluate("knit('ifile.Rmd', 'ifile2.md')");
Am i missing anything or executing knit is not allowed in R.Net ?