1

Probably a basic question but I can't see how to knit my RMarkdown document into a Word document. I've checked the various ReadMe's e.g. https://crsh.github.io/papaja_man/ but can't see anywhere where it is spelled out. Any help is appreciated.

sbha
  • 9,802
  • 2
  • 74
  • 62
PsychBrief
  • 55
  • 7
  • Why not knit to markdown, then use pandoc to convert to word? That is how I would do it. R studio might do this for you already, I have no idea. Not sure how familiar you are with pandoc. This should get you most of the way. https://pandoc.org/ – JMT2080AD Oct 03 '18 at 20:51

2 Answers2

4

If you are looking to produce a Word document in APA style using papaja you can change the default output specified in the YAML front matter to the following:

---
output: apa6_docx
---

This is also mentioned in the package manual.

crsh
  • 1,699
  • 16
  • 33
1

I believe you have to specify it in your yaml header as such:

---
title: TITLE
author: AUTHOR
output: word_document
---

Also, the manual does note that there functions won't work when converting into word.