Установка самра в R 3.4

У меня проблемы с установкой samr пакет в R v3.4 MacOS Сьерра. Я получаю это предупреждение:

  "Package which is only available in source form, and may need compilation of
   C/C++/Fortran: ‘samr’
 Do you want to attempt to install these from sources?
 y/n: y
 installing the source package ‘samr’

trying URL 'https://cran.rstudio.com/src/contrib/samr_2.0.tar.gz'
Content type 'application/x-gzip' length 36702 bytes (35 KB)
==================================================
downloaded 35 KB

* installing *source* package ‘samr’ ...
** libs
gfortran   -fPIC  -g -O2  -c rankcol.f -o rankcol.o
make: gfortran: No such file or directory
make: *** [rankcol.o] Error 1
ERROR: compilation failed for package ‘samr’
* removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/samr’
Warning in install.packages :
  installation of package ‘samr’ had non-zero exit status

У кого-нибудь есть идея преодолеть это?

1 ответ

Большое спасибо, я загрузил gofortran для MacOs sierra https://gcc.gnu.org/wiki/GFortranBinaries и, похоже, теперь работает

Другие вопросы по тегам