R: "Make" Not Found When Installing a R-Package from Local Tar.Gz

R: make not found when installing a R-package from local tar.gz

what do you need is to update the Rtool, here is the link I had the same issue before once you update it will work.

How do I install an R package from the source tarball on windows?

I know this is an old question but it came up first in my Google search for this same question, even though I knew the answer I just wanted something to copy and paste. Which makes it worth improving the answer for future reference. So here is what works for me:

Install rtools, then:

install.packages(path_to_file, repos = NULL, type="source")

Installing a local package that's not a .tar.gz

If it's a source file, then use install.packages() and set the repos=NULL:

install.packages(file_name_and_path, repos = NULL, type="source")

See this related question: How do I install an R package from source?

Installing package from source R

After spending about an hour, thanks to @user20650 and @GWD I was able to solve my problem as follows:

  • I previously had R 3.5.3, I upgraded to the latest version 3.6.2
  • Steps to upgrade R if you already have it: tutorial 1 and tutorial 2
  • After having R 3.6.2, I used RGui rather that RStudio to install Hmisc
  • I typed in the GUI console: install.packages("Hmisc"); it prompts you for a message about compilation, I clicked on NO


Related Topics



Leave a reply



Submit