从r markdown中的单词模板渲染pdf表文档
我有一个来自Word的模板(请参阅照片),我想使用R数据框来填充。模板中标有<<的字段>>匹配我的数据框中的字段名称。我想将来自此数据框架的值输入表中,然后为每个<<组名称>>。
I have a template from Word (see photo) that I would like to populate using an R data frame. The fields in the template marked with << >> match the field names from my data frame. I want to input the values from this data frame into the table and then render an individual pdf document for each << Group Name >>.
I have searched far and wide for a solution and have not found one. Can this be done in R Markdown?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看{redoc}: https://noamross.github.io/redoc/eredoc/ ,请注意,但请注意,但请注意作者将其描述为“暂停动画”。如果那不起作用,请使用{Flextable}手动重新创建桌子。
Check out {redoc}: https://noamross.github.io/redoc/, but note that the author describes it as "in suspended animation". If that doesn't work, manually recreating your table using {flextable} is probably the way to go.