error while installing quadprog package in R for M

2019-09-06 02:19发布

问题:

I'm trying to install the quadprog package in R in mac but it keeps showing this massage:

  • installing source package ‘quadprog’ ... ** package ‘quadprog’ successfully unpacked and MD5 sums checked ** libs gfortran-4.8 -fPIC -g -O2 -c aind.f -o aind.o make: gfortran-4.8: No such file or directory make: *** [aind.o] Error 1 ERROR: compilation failed for package ‘quadprog’
  • removing ‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library/quadprog’

Anybody know what I should do to have it installed?

标签: r macos quadprog