I would like to know the exact & complete sequence of "hidden" R commands which are executed when I click the "Knit" button in RStudio for a selected RMarkdown file.
Specifically: what R commands automatically launch a Preview display version of the just-rendered .html file.
While RStudio Support tries to be as transparent as possible, I cannot find any reference anywhere - beginning with Garrett Grolemund's excellent but dated (2014) Overview "R Markdown integration in the RStudio IDE", where he states "The “Knit HTML” button works in the same way. It renders your .Rmd file and launches a preview of your output document."
So: what is the R command or function argument employed to actually launch a preview of the output document ?
What's more puzzling is scouring the R package documentation and finding nothing that suggests how a separate popup window can be created to display a just-rendered-by-pandoc .html file. OR how a just-rendered .html file can be displayed optionally in Viewer pane of the RStudio IDE.
Thanks for any clarification here.
AW