Hello everyone,
Any idea on how I can paste R codes into a word document, please? I used DESeq2 and some other packages in R for RNA-Seq and enrichment analyses. I want to put some of the R codes into a word document as it appears in R console. So, I am wondering how to do that.
I appreciate your usual support.
Thank you
Just change the font to a monospaced font like courier, and paste the code?
Thank you Dr. Joe, will give it a try.
Code in a Word document looks unprofessional, in my opinion. You may consider instead creating a R markdown file and then knitting to PDF? Edit: or, at least, do what jrj.healey suggests and use a different font so that the code stands out.
Thank you so much Professor Kevin for the more enlightening on this. Will check onto it and I do appreciate your usual support. I learnt from your wealth of knowledge and experience.