Is there a proper way/a command to copy the output of R and paste it in a Word document, without loosing the formatting? I already tried to put the next command at the beginning of my syntax:
sink("./output.txt", append = T) #write output to file output.txt
And I wrote the next command at the end of my syntax:
sink() #stop recording
It gives me a text file (in R) with the results of my output, but when I paste it in a Microsoft Word document, I still loose the formatting.
Thank you