Closed lizhiwei1994 closed 6 days ago
I read:
I did not work on it yet, you don't need to open duplicates every day until I find a fix
Thank you for your response and for looking into this issue. I apologize for any inconvenience caused by the duplicate posts. I appreciate your efforts in addressing this problem, and I'll wait for your update whenever you have a chance to work on it.
Thanks again for your time and help!
Best regards,
zhiwei
it should be OK now
I am trying to generate a Word document with R using the
officedown::rdocx_document
output format. When I use the standardoutput: word_document
option, I can easily control the size of images in the output by setting different values for theout.width
parameter in my RMarkdown document. However, when I switch toofficedown::rdocx_document
, the images are not resizing as expected. No matter what value I set forout.width
, the image size remains unchanged.Here's a minimal reproducible example:
Using
output: word_document
option:out.width='10%'
out.width='90%'
output: officedown::rdocx_document
out.width='10%'
out.width='90%'