gpt4 book ai didi

r - 安装flowCore包R时出错

转载 作者:行者123 更新时间:2023-12-02 03:09:18 24 4
gpt4 key购买 nike

我正在尝试在 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

最佳答案

同样受到影响(MacOSX 除外)我发现我可以从 github 成功安装,如下所示:

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

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

关于r - 安装flowCore包R时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40721182/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com