Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 629
pnkjmndhl Avatar asked Apr 18 '17 01:04

pnkjmndhl


1 Answers

It tells you exactly what the problem is. You didn't install R. RStudio is a very nice IDE for R but you don't automatically get R installed just by installing RStudio. Follow the instructions here https://cran.r-project.org or use your package manager to install R.

like image 170
Dason Avatar answered Jan 05 '23 02:01

Dason