-
运行:Try executing this chunk by clicking the Run button within the chunk or by placing your cursor inside it and pressing Ctrl+Shift+Enter.

-
创建新代码块: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.

R Note Book 快捷键
最新推荐文章于 2025-10-26 10:25:42 发布
本文介绍了使用 R Markdown 的基本操作,包括运行代码块、创建新的代码块以及如何保存和预览文档。通过这些简单的步骤,你可以快速上手并利用 R Markdown 来撰写集代码、输出和文档于一体的综合报告。
706

被折叠的 条评论
为什么被折叠?



