From within the Debian terminal, type the following commands one at a time, each followed
sudo apt-get update
sudo apt install r-base r-base-dev
Confirm installation worked by running R: type
R followed by
Enter in the Debian terminal. R should launch. Quit R by typing
q() followed by
Download and install the latest version of The R Project for Statistical computing for Windows here.
For an integrated development environment (IDE) / graphical interface, you can also download and install R Studio from here.