作者:Yihui Xie
译者:郑宝童
日期:2021.06.03
5 Editing
In this chapter, we explain how to edit, build, preview, and serve the book locally. You can use any text editors to edit the book, and we will show some tips for using the RStudio IDE. We will introduce the underlying R functions for building, previewing, and serving the book before we introduce the editor, so that you really understand what happens behind the scenes when you click a certain button in the RStudio IDE, and can also customize other editors calling these functions.
在本章中,我们将解释如何在本地编辑、构建、预览和serve图书。您可以使用任何文本编辑器来编辑这本书,我们将展示一些使用RStudio IDE的技巧。在介绍编辑器之前,我们将介绍用于构建、预览和serve图书的底层R函数,以便您真正理解在RStudio IDE中单击某个按钮时后发生的事情,并可以自定义其他编辑器调用这些函数。