First, if you want to use RStudio, there doesn't seem to be anything wrong with that. However, if you already use VS Code for C/C++, Javascript, Python, Ruby, Markdown, text files, and everything else, it makes sense to also use it for R.
This should basically work for both Win10 and macOS. Your projects (stored in a
version control system, of course) should be portable between the two. The use
of renv
keeps the package