I am working on big data with survey design. Until now, I am putting my R results manually in the word document. I was wondering if there is a package or specific function that can automatically give me publication quality table.
{rmarkdown} and {quarto} can mix text and code and can use a variety of formatters to render documents or standalone portions such as tables as HTML, pdf or, if necessary Word. Some of them are near automatic,
but often publications have exacting requirements. With luck, there are formatters but if not almost any style of table can be produced using the LaTeX language.
It probably depends on where you are publishing and what you are publishing. As @technocrat points out "often publications have exacting requirements".
" Until now, I am putting my R results manually in the word document'.
You should consider looking into using Rmarkdown or the new Quarto writing systems that are designed to integrate well with R
Tables with Rmarkdown gives a bit of genoral information on using tables information. The stargazer package may be useful and the qwraps2 package looks like it might be handy.
If you have the pleasure (horror?) of using APA style there are some dedicated packages such as apaTables or papaja. I believe that {papaja} is only usable in Rmarkdown or Quarto which will give Word, PDF & HTML output.
Both of the APA style packages probably will provide tables that are fine in other publications. They are just intended to meet the APA Manual's rather exacting demands.