我想使用R将HTML转换为PDF 我尝试过使用cat和rmarkdown。下面是一个来自this answer的示例,我的目标是让它看起来与它在web上显示的一样 <p>You can use the <a href="http://stat.ethz.ch/R-manual/R-devel/library/base/html/order.html" r
我有几个R脚本,比如a.R、b.R、c.R。我想将所有脚本粘贴到一个文件中,然后使用此文件生成Notebook。在a.R中,代码是 #' This is some text in a.R to be used in Notebook.
dat1 <- 1:10 在b.R中,代码是 #' This is sometext in b.R to be used in Notebook</e
我正试着把它转换成DocX,这样我就可以和别人分享它了。当我将文档转换为DocX时,表丢失了。有没有人成功地做到了这一点?title: "RNotebook" word_document: defaultheader-includes:---
This is an [R Markdown](http: