From e07231ca9d89bb8f05042a14706f309af8b9d3d0 Mon Sep 17 00:00:00 2001 From: "Y. Yu" <54338793+PursuitOfDataScience@users.noreply.github.com> Date: Wed, 12 Jan 2022 09:42:02 -0500 Subject: [PATCH] Update analysis.Rmd Corrected few places. --- analysis.Rmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: