Note: some people use the Anaconda stack to manage their installations of Python (and other languages). It is slightly notorious for not playing nicely with other software; if you use it I’m happy for you but you may have to find Anaconda-specific instructions for installing all the bits and pieces below.
stat790bbolker)sudo apt install code -y on recent Debian-based linux)languageserver package in R)radian R console (also need Python installed!) pip install radian; update settings. See https://code.visualstudio.com/docs/languages/r