How to preserve formatting from rstudio when copy/pasting to Word?

前端 未结 7 1905
生来不讨喜
生来不讨喜 2021-01-30 17:11

New to R, Rstudio, and SO -- my apologies in advance for any faux pas.

I want to reproduce my code in Word 2010 for a homework assignment. The scripts were written in r

7条回答
  •  一个人的身影
    2021-01-30 18:02

    Copy paste the code from Rstudio editor to 'visual studio code' & then again copy from there into a word processor. For this to happen you must first install R extension in visual studio code. 'Visual studio code' is itself an IDE which can potentially be used for R language as well, but right now I'm emphasizing on using it to answer the above question.

提交回复
热议问题