R表示include dir为空,但不是

时间:2018-08-14 20:15:52

标签: r compilation bioconductor

我不知道这是R问题,RStudio问题还是Bioconductor问题。

当我尝试安装某些软件包时,在这种特定情况下,DECIPHER,我得到:

> biocLite('DECIPHER', suppressUpdates=T)
trying URL 'https://bioconductor.org/packages/3.6/bioc/src/contrib/DECIPHER_2.6.0.tar.gz'
Content type 'application/x-gzip' length 12633118 bytes (12.0 MB)
==================================================
downloaded 12.0 MB

* installing *source* package ‘DECIPHER’ ...
** libs
Warning: R include directory is empty -- perhaps need to install R-devel.rpm or similar
/home/balter/conda/lib/R/etc/Makeconf:10: /envs/dada2/lib/R/share/make/vars.mk: No such file or directory
make: /envs/dada2/lib/R/share/make/shlib.mk: No such file or directory
make: *** No rule to make target '/envs/dada2/lib/R/share/make/shlib.mk'.  Stop.
ERROR: compilation failed for package ‘DECIPHER’
* removing ‘/home/balter/conda/envs/dada2/lib/R/library/DECIPHER’

The downloaded source packages are in
    ‘/tmp/RtmpwH2lcr/downloaded_packages’

> Sys.getenv('R_INCLUDE_DIR')
[1] "/home/balter/conda/envs/dada2/lib/R/include/"
> list.files(Sys.getenv('R_INCLUDE_DIR'))
 [1] "R_ext"        "R.h"          "Rconfig.h"    "Rdefines.h"   "Rembedded.h"  "Rinterface.h" "Rinternals.h"
 [8] "Rmath.h"      "Rversion.h"   "S.h" 

0 个答案:

没有答案