## 13.9 Working in a .Rmd file

We now perform almost all our analyses in a Notebook / Markdown file as described in the previous chapter. This means running all analyses within the document, without the requirement to save and reload table or plot objects.

As mentioned earlier, a Notebook document can be rendered as a PDF or a Word document. Some refining is usually needed to move from an ‘analysis’ document to a final ‘report’ document, but it is often minimal.

Figure 13.4 demonstrates a report-type document rendered as a PDF. All the code is run within the document, but not included in the output (echo=FALSE).