[英]How to save R source code to a PDF
So I have some R source code, how do I save that source code into a PDF.所以我有一些 R 源代码,如何将该源代码保存为 PDF。 I am able to save the markdown output as PDF through knitr.
我可以通过 knitr 将降价输出保存为 PDF。 But how do I save the code itself onto a PDF?
但是如何将代码本身保存到 PDF 中?
在 R 块中使用echo = TRUE
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.