I am trying to install a R package in Ubuntu using the following commands:
R CMD INSTALL rpart_4.1-5.tar.gz
install.packages(\"/home/rpart_4.1-5.tar.gz\", repos
Your system doesn't have make utility for compilation.
Please execute following command to install make in your system.
sudo apt-get install build-essential
If you just do
sudo apt-get install r-base-dev
you all the key dependencies relevant for R package building which is what you want here. This includes the compiler, make etc as part of built-essential
as well as specific libraries needed by R. There is a reason we created this package :)
If your machine does not have permanent internet access, look for previously-asked questions about "apt-get without internet access" etc.