How to set the language in a html document via r markdown html
问题 I am using a .Rmd documment and rendering to html_document. The prefix of my tables come as "Table", however, I want it in my first language. As in pdf_document, I want to set the language of my report to portuguese, like this: --- title: "Code" author: "Guilherme" date: "May 9, 2017" lang: "pt-br" output: html_document: default --- Is there a way to do that? 回答1: There is no way to do this with the htmlTable package because the "Table no" bit is hardcoded into this package (see the source