1

I want the header and footer to repeat in every page of the .docx report. Everyone is suggesting use the RMarkdown to get the header and footer. Is it possible using R? I am using Officer package for .docx report. I want this header & footer in the Clinical reports.

In SAS we can get using the "Header" & "Footer statement". How to get it in the R?

Please help me on this, as am new to R programming.

Thanks & Regards Vamsi

kath
  • 7,624
  • 17
  • 32

1 Answers1

1

Using ‘officer’, you can design a content-empty .docx file with your header and footer first, and read it and merge your report, then, the h&f will repeat in your report.

Jack Hsueh
  • 115
  • 8