R Equivalent of Stata Texdoc

33 Views Asked by At

In Stata, there is a beautiful package texdoc (https://repec.sowi.unibe.ch/stata/texdoc/help-file.html) that allows you to create customized latex tables explicitly within your script, without having to use some wrapper function,

texdoc init "table.tex", force replace
tex \begin{table}[H]
...
...
tex \end{table}
texdoc close

Would write the table.tex table into your folder. Does R have an equivalent? Ie; without having to use stargazer or xtable, ect?

Note that there is also an R package called texdoc, but this is totally different.

0

There are 0 best solutions below