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
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.