Hi there, I have some problems installing the package Hmisc.
Can someone help me ?
There is a binary version available but the
source version is later:
binary source needs_compilation
Hmisc 4.3-1 4.4-0 TRUE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel) y
installing the source package ‘Hmisc’
versuche URL 'https://cran.rstudio.com/src/contrib/Hmisc_4.4-0.tar.gz'
Content type 'application/x-gzip' length 744545 bytes (727 KB)
==================================================
downloaded 727 KB
* installing *source* package ‘Hmisc’ ...
** Paket ‘Hmisc’ erfolgreich entpackt und MD5 Summen überprüft
** using staged installation
** libs
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -fPIC -Wall -g -O2 -c Hmisc.c -o Hmisc.o
gfortran -fPIC -Wall -g -O2 -c cidxcn.f -o cidxcn.o
make: gfortran: No such file or directory
make: *** [cidxcn.o] Error 1
ERROR: compilation failed for package ‘Hmisc’
* removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/Hmisc’
Warning in install.packages :
installation of package ‘Hmisc’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/r4/pjkym5210jb3y15n83hpzgd40000gn/T/RtmpYaxr63/downloaded_packages’
> install.packages("~/Downloads/Hmisc_4.4-0.tar", repos = NULL)
Error in install.packages : type == "both" cannot be used with 'repos = NULL'