diff --git a/analysis.Rmd b/analysis.Rmd index 82e89ab..badf91e 100644 --- a/analysis.Rmd +++ b/analysis.Rmd @@ -679,7 +679,7 @@ spark_disconnect(sc) ``` ```` -To((("commands", "render()"))) knit this report, save the file with a _.Rmd_ extension such as _report.Rmd_, and run `render()` from R. The output should look like that shown in Figure \@ref(fig:visualize-analysis-communicate). +To ((("commands", "render()"))) knit this report, save the file with a _.Rmd_ extension such as _report.Rmd_, and run `render()` from R. The output should look like that shown in Figure \@ref(fig:visualize-analysis-communicate). ```{r analysis-communicate-rmd, eval=FALSE} rmarkdown::render("report.Rmd") @@ -688,7 +688,7 @@ rmarkdown::render("report.Rmd") render_image("images/analysis-rmarkdown.png") ``` -You can now easily share this report, and viewers of won't need Spark or R to read and consume its contents; it’s just a self-contained HTML file, trivial to open in any browser. +You can now easily share this report, and viewers won't need Spark or R to read and consume its contents; it’s just a self-contained HTML file, trivial to open in any browser. It is also common to distill insights of a report into many other output formats. Switching is quite easy: in the top frontmatter, change the `output` option to `powerpoint_presentation`, `pdf_document`, `word_document`, or the like. Or you can even produce multiple output formats from the same report: