r-f951:内部编译器错误:非法指令:4

时间:2018-11-16 12:48:24

标签: r gfortran install.packages

我正在尝试安装MVN软件包:

> install.packages("MVN")
probando la URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/MVN_5.5.tgz'
Content type 'application/x-gzip' length 382369 bytes (373 KB)
==================================================
downloaded 373 KB

The downloaded binary packages are in
    /var/folders/79/xxghr9tj65789879v41wrp6h0000gn/T//Rtmp4bpod5/downloaded_packages

但是当我做library(MVN)时,我说Error: package or namespace load failed for ‘MVN’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘rrcov’

所以当我尝试安装它时:

> install.packages("rrcov")

  There is a binary version available but the source version is later:
      binary source needs_compilation
rrcov  1.4-4  1.4-7              TRUE

Do you want to install from sources the package which needs compilation? (Yes/no/cancel) yes
installing the source package ‘rrcov’

probando la URL 'https://cran.rstudio.com/src/contrib/rrcov_1.4-7.tar.gz'
Content type 'application/x-gzip' length 965680 bytes (943 KB)
==================================================
downloaded 943 KB

* installing *source* package ‘rrcov’ ...
** package ‘rrcov’ successfully unpacked and MD5 sums checked
** libs
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/usr/local/include   -fPIC  -Wall -g -O2  -c R-rng4ftn.c -o R-rng4ftn.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/usr/local/include   -fPIC  -Wall -g -O2  -c covOPW.c -o covOPW.o
gfortran   -fPIC  -g -O2  -c ds11.f -o ds11.o
gfortran: warning: couldn’t understand kern.osversion ‘15.6.0
f951: internal compiler error: Illegal instruction: 4

f951: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)
make: *** [ds11.o] Abort trap: 6
ERROR: compilation failed for package ‘rrcov’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/rrcov’
Warning in install.packages :
  installation of package ‘rrcov’ had non-zero exit status

The downloaded source packages are in
    ‘/private/var/folders/79/xxghr9tj65789879v41wrp6h0000gn/T/Rtmp4bpod5/downloaded_packages’

我已经搜索了解决方法,安装XCode,重新安装r,什么也没有。我需要此软件包才能对论文进行一些多变量分析,但我不知道如何解决。 任何帮助将不胜感激。 谢谢!

我正在使用iOS 10.11.6

0 个答案:

没有答案