Setup blog post by Aaron Schiff: https://schiff.co.nz/en/blog/r-and-vscode/

R in Visua Studio by the Visual Studio Code folks: https://code.visualstudio.com/docs/languages/r