美文网首页
R包inferCNV rjags安装

R包inferCNV rjags安装

作者: 盐都娃哈哈哈 | 来源:发表于2022-01-11 22:58 被阅读0次

install.packages("rjags")Installing package into ‘/home/lfr/R/x86_64-pc-linux-gnu-library/4.1’

(as ‘lib’ is unspecified)trying URL 'https://mirrors.tuna.tsinghua.edu.cn/CRAN/src/contrib/rjags_4-12.tar.gz'Content type 'application/octet-stream' length 74067 bytes (72 KB)==================================================downloaded 72 KB* installing *source* package ‘rjags’ ...** package ‘rjags’ successfully unpacked and MD5 sums checked** using staged installation

/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not found/usr/lib/R/bin/config: 1: eval: make: not foundchecking for pkg-config... no

configure: Attempting legacy configuration of rjags

checking for jags... /usr/bin/jags

checking for g++... no

checking for c++... no

checking for gpp... no

checking for aCC... no

checking for CC... no

checking for cxx... no

checking for cc++... no

checking for cl.exe... no

checking for FCC... no

checking for KCC... no

checking for RCC... no

checking for xlC_r... no

checking for xlC... no

checking whether the C++ compiler works... noconfigure: error: in `/tmp/Rtmp1lFBKi/R.INSTALL21f25565bf83/rjags':configure: error: C++ compiler cannot create executables

See `config.log' for more details

ERROR: configuration failed for package ‘rjags’* removing ‘/home/lfr/R/x86_64-pc-linux-gnu-library/4.1/rjags’

Warning in install.packages :installation of package ‘rjags’ had non-zero exit status

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

首先第一个错误应该是 make没有安装,表示系统上没有make实用程序。

为了让R安装软件包,必须在Ubuntu中安装base-r-dev软件包。 r-base-dev包含许多软件包,包括一个名为build-essential的软件包,它涵盖了gcc编译器和make。

要安装 r-base-dev,请在linux终端窗口中发出以下命令,假设您已经安装了r-base。

sudo apt-get update

sudo apt-get install r-base-dev  ##这个里面就涵盖了编译器和make....

后面直接安装java环境应该就可以了

install.packages("rjags")

library(rjags)

if (!requireNamespace("BiocManager", quietly = TRUE))

install.packages("BiocManager")

BiocManager::install("infercnv")

library(infercnv)

(本篇的内容就先到这里,水平有限,有错误的地方,欢迎大家批评指正!)

相关文章

  • inferCNV安装心路历程

    infercnv 包的安装依赖于rjags,rjags包依赖于JAGS库文件,因此,首先需要安装JAGS。 win...

  • R包inferCNV rjags安装

    install.packages("rjags")Installing package into ‘/home/l...

  • configure: error: "You need to i

    LAPACK 安装inferCNV包安装需要JAGS,安装JAGS需要依赖于LAPACK。 尝试多次安装,JAGS...

  • InferCNV 的 Gene ordering file 输入

    我们都知道,利用R包infercnv对scRNA-seq数据进行CNV推断时,首个步骤是运行CreateInfer...

  • 学习小组DAY6--帅炸

    学习R包 安装和加载R包 镜像设置 安装 R包安装命令是install.packages(“包”)或者BiocMa...

  • 2019-07-10R包安装

    安装R包的几种方式从CRAN中安装R包 ########安装R包的几种方式############# 修改清华镜像...

  • R包安装、加载与更新

    掌握了R基本的一些概念,今天咱们来简单了解下R包,R包安装、加载与更新 安装R包的几种方式 从CRAN中安装R包 ...

  • 学习R包

    安装和加载R包 1. 镜像设置 2. 安装 R包安装命令是install.packages(“包”) 安装的包...

  • R包的4种安装方式

    R包的4种安装方式 在线安装 安装bioconductor的包 离线安装 命令安装 修改R包的加载路径

  • 常用代码集合

    常规设置 加载包时不要出现冗余信息 设置安装包的镜像网站 保存R数据 安装R包 批量安装R包 PCA作图

网友评论

      本文标题:R包inferCNV rjags安装

      本文链接:https://www.haomeiwen.com/subject/iniicrtx.html