Hi,
I am a bioinformatics Ph.D. student, and so I naturally use a lot of R and python. My main IDE is Rstudio, especially given its recent integration and support for python, but I also know how to use Jupyter notebooks.
VS Code is my favorite text editor and IDE outside of Rstudio; I even found out it is possible to use Jupyter notebooks within vs code rather than a browser, which is definitely more convenient for me.
For R, I use Rmarkdown for everything, and I rarely have to write raw R scripts unless I am executing something on the cluster. I would like to start using vs code more as my IDE for R, but I am not sure how to set up Rmarkdown on it (syntax highlighting, separation of text and code chunks, etc.). If you know of any good extensions for vs code that make this possible, please do let me know.
I have done my research but I can't find any guidance on how to set up Rmarkdown on vs code instead of just raw R.
If you are on Mac, there is an extension. May be this would help: https://github.com/REditorSupport/vscode-R/pull/692, https://yingqijing.medium.com/r-markdown-notebook-in-vs-code-3adb5a61417a