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 thatRStudio
to installHmisc
- I typed in the GUI console:
install.packages("Hmisc");
it prompts you for a message about compilation, I clicked on NO
Related Topics
Usage of Dot/Period in R Functions
Create a Concentric Circle Legend for a Ggplot Bubble Chart
Ggplot Scale_X_Continuous with Symbol: Make Bold
R Bnlearn Eval Inside Function
Changing Line Color in Ggplot Based on Slope
Manual Simulation of Markov Chain in R
Data.Frames in R: Name Autocompletion
How to Place an Identical Smooth on Each Facet of a Ggplot2 Object
Weird Case with Data Tables in R, Column Names Are Mixed
Split a Column to Multiple Columns
Shiny Ui.R - Error in Tag("Div", List(...)) - Not Sure Where Error Is
R Shiny: Plot with Dynamical Size
Is There Something Like a Pmax Index
R Geom_Tile Ggplot2 What Kind of Stat Is Applied
Looping Over Combinations of Regression Model Terms
Using Predict() and Table() in R