0% found this document useful (0 votes)
3 views1 page

R Markdown Notebook Guide

This R Markdown Notebook document explains how to execute code chunks that will display output below the code. It demonstrates plotting sample data using the plot(cars) function. It also describes how to add new code chunks and preview the notebook as HTML without re-running the code.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

R Markdown Notebook Guide

This R Markdown Notebook document explains how to execute code chunks that will display output below the code. It demonstrates plotting sample data using the plot(cars) function. It also describes how to add new code chunks and preview the notebook as HTML without re-running the code.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

R Notebook

This is an R Markdown Notebook. When you execute code within the notebook, the results
appear beneath the code.
Try executing this chunk by clicking the Run button within the chunk or by placing your
cursor inside it and pressing Ctrl+Shift+Enter.
plot(cars)

Add a new chunk by clicking the Insert Chunk button on the toolbar or by pressing
Ctrl+Alt+I.
When you save the notebook, an HTML file containing the code and output will be saved
alongside it (click the Preview button or press Ctrl+Shift+K to preview the HTML file).
The preview shows you a rendered HTML copy of the contents of the editor. Consequently,
unlike Knit, Preview does not run any R code chunks. Instead, the output of the chunk when
it was last run in the editor is displayed.

You might also like