connect to R Markdown package and show output during processing