2014-07-16 2 views
2

012HR5.5 (x86_64-redhat-linux-gnu)가 R version 3.0.2 (2013-09-25)입니다.R include 디렉토리가 비어 있습니다.

this SO question에서 설명한 것처럼 일부 패키지는 잘 설치되지만 "R 디렉토리 포함은 비어 있습니다. 아마도 R-devel.rpm 또는 유사한 것을 설치해야합니다"라는 경고가 나타납니다. 이 경고가 나타나면 make: gcc: Command not found도 나타나고 패키지가 컴파일되지 않습니다.

대답은 분명히 "개발 헤더"를 설치하는 것이지만, 이것이 의미하는 것이 확실하지 않습니다. 받아 들여진 대답은 그것을 설명하지 않습니다.

나는 sudo yum install R-devel을 시도했지만, 종속성과 관련된 몇 가지 오류가 발생합니다.

Error: Package: rstudio-0.95.265-1.x86_64 (@oit-el-6-x86_64/6.3) 
     Requires: libRblas.so()(64bit) 
     Removing: R-core-3.0.2-1.el6.x86_64 (@oit-stable-epel-x86_64-6) 
      libRblas.so()(64bit) 
     Updated By: R-core-3.1.0-5.el6.x86_64 (oit-testing-epel-x86_64-6) 
      Not found 
     ... 

Error: Package: rstudio-0.95.265-1.x86_64 (@oit-el-6-x86_64/6.3) 
     Requires: libRlapack.so()(64bit) 
     Removing: R-core-3.0.2-1.el6.x86_64 (@oit-stable-epel-x86_64-6) 
      libRlapack.so()(64bit) 
     Updated By: R-core-3.1.0-5.el6.x86_64 (oit-testing-epel-x86_64-6) 
      Not found 
     ... 

나는 이것이 무엇을 의미하는지 모르겠습니다. Linux 입문.

답변

2

나는 other folks were having trouble with the same dependencies을 발견 했으므로 RStudio를 제거한 다음 최신 버전을 다시 설치했습니다. R의 최신 버전을 얻으려면 yum에서 EPEL을 사용하도록 구성했습니다.

su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm'

은 그 때 나는

su -c 'yum install R R-core R-core-devel R-devel'

이 컴파일 할 필요 패키지를 설치하기 위해 저를 활성화 다시 설치 R.에 these instructions을 따랐다.

관련 문제