Step 1: Download R-studio from
https://www.rstudio.com/products/rstudio/download/
Step 2: Open terminal and use this command
sudo dpkg -i rstudio-1.0.136-amd64.deb
Step 3: Launch R Studio from terminal:
rstudio
This throws an error:
Unable to find an installation of R on the system (which R didn't return valid output); Unable to locate R binary by scanning standard locations
What's wrong here?