In addition, you may want to use message = FALSE and warning = FALSE so your collaborator does not see any messages or warnings from R. knitr::opts_chunk$set(echo = FALSE,įor example, if you’re working with a collaborator who does not want to see the code - you could set eval = TRUE and echo = FALSE so the code is evaluated but not shown. To do so, you can set global chunk options at the top of the document. You may wish to have the same chunk settings throughout your document and so it might be nice to type options once instead of always re-typing it for each chunk.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |