Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想防止我的 R 笔记本的 R 源代码不仅不显示,而且我希望它完全从 html 文件中消失。右上角的 [CODE] 按钮也是如此。
到目前为止,我只发现
code_folding: hide
但它只会折叠代码,或者
echo=FALSE
在块选项中,但这不会使顶部的按钮消失。
有任何想法吗?