当前位置: 首页 > 知识库问答 >
问题:

安装flowCore包%R时出错

漆雕修德
2023-03-14

我正在尝试在R 3.3.2(Ubuntu 14.04 LTS)中安装flowCore包(Bioconductor 3.4)。但我遇到了以下错误。有谁能提出一些解决方案吗?谢谢。

boost_regex/regex.cpp:195:64: error: use of deleted function ‘std::atomic<_Tp*>::atomic(const std::atomic<_Tp*>&) [with _Tp = void]’
 mem_block_cache block_cache = { 0, 0, BOOST_STATIC_MUTEX_INIT, };
                                                                ^
In file included from /home/nitin/R/x86_64-pc-linux-gnu-library/3.3/BH/include/boost/regex/v4/mem_block_cache.hpp:31:0,
                 from boost_regex/regex.cpp:44:
/usr/include/c++/4.8/atomic:298:7: error: declared here
       atomic(const atomic&) = delete;
       ^
boost_regex/regex.cpp:195:64: error: use of deleted function ‘std::atomic<_Tp*>::atomic(const std::atomic<_Tp*>&) [with _Tp = void]’
 mem_block_cache block_cache = { 0, 0, BOOST_STATIC_MUTEX_INIT, };
                                                                ^
In file included from /home/nitin/R/x86_64-pc-linux-gnu-library/3.3/BH/include/boost/regex/v4/mem_block_cache.hpp:31:0,
                 from boost_regex/regex.cpp:44:
/usr/include/c++/4.8/atomic:298:7: error: declared here
       atomic(const atomic&) = delete;
       ^
boost_regex/regex.cpp:195:64: error: could not convert ‘{{{0, 0, 0, 0, 0, 0, 0, {0, 0}}}}’ from ‘<brace-enclosed initializer list>’ to ‘std::atomic<void*>’
 mem_block_cache block_cache = { 0, 0, BOOST_STATIC_MUTEX_INIT, };
                                                                ^
make: *** [boost_regex/regex.o] Error 1
ERROR: compilation failed for package ‘flowCore’
* removing ‘/home/nitin/R/x86_64-pc-linux-gnu-library/3.3/flowCore’
ERROR: dependency ‘flowCore’ is not available for package ‘flowAI’
* removing ‘/home/nitin/R/x86_64-pc-linux-gnu-library/3.3/flowAI’

The downloaded source packages are in
    ‘/tmp/RtmpTbmU8h/downloaded_packages’
installation path not writeable, unable to update packages: mgcv, survival
Warning messages:
1: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘flowCore’ had non-zero exit status
2: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘flowAI’ had non-zero exit status

共有1个答案

邵轶
2023-03-14

同样的苦恼(除了在MacOSX上),我发现我可以成功地从github安装,作为:

library(devtools)
install_github("RGLab/flowCore",ref='trunk')

FWIW,这个问题在MacOS中通过使用R的CRAN构建来安装R而不是像我以前那样从自制的版本来更好地解决。

 类似资料:
  • 我在尝试安装python包时遇到此错误: 错误:由于环境错误无法安装包:HTTPSConnectionpool(host='files.pythonhosted.org',port=443):最大重试超过了url: /packages/f2/12/37c09c37d7ac2bdb6169d5b9409a8e64770a997412edcccc689115d63b97/catboost-0.16-c

  • 我使用npm很长一段时间了(使用Win10)-在防火墙/权限等方面没有改变任何东西,突然间我在尝试安装任何软件包时出现以下错误: C:\udemy-button>npm安装引导程序--保存npm错误!路径C:\udemy-button\node_modules\fsevents\node_modules\aws4\package.json npm err!代码EPERM npm错误!错误-4048

  • 使用第2版。0@dev对于yiisoft/yii2-jui/创作者json已在加载composer存储库时更新,其中包含包信息更新依赖项(包括require dev) 拿不到https://api.github.com/repos/jquery/jquery,输入您的GitHub凭据以超过API速率限制将创建令牌并将其存储在“C:/Users/nimmy/AppData/Roaming/Compo

  • 本文向大家介绍R从GitHub安装软件包,包括了R从GitHub安装软件包的使用技巧和注意事项,需要的朋友参考一下 示例 要直接从GitHub安装软件包,请使用devtools软件包: 要从ggplot2github安装: 上面的命令将安装ggplot2与master分支相对应的版本。要从存储库的另一个分支进行安装,请使用ref参数提供分支的名称。例如,以下命令将安装软件包的dev_general

  • 我正在尝试为R安装包。我在WSL上使用Ubuntu18.04LTS,Windows Subsystem for Linux。 通过在WSL上的R中调用,我可以很好地安装一些包。然而,其他的包裹似乎给我带来了麻烦。 我尝试的下列方法似乎都不起作用: *我尝试用安装包。 *我尝试从源代码安装到中。 *我尝试从源代码安装到个人库中。 我收到了一个类似这里讨论的错误消息,但是我无法通过编辑来修复该问题,因