0

我是 rstanarm 的新手/学生,我在安装RcppParallel. 我已经尝试过devtools::install_github("RcppCore/RcppParallel")install.packages("RcppParallel", dependencies = TRUE)但我仍然收到非零错误。任何帮助将不胜感激。错误脚本粘贴在下面。谢谢你。另外,我使用Windows(不确定是否需要信息)。

The downloaded source packages are in
    ‘C:\Users\X \AppData\Local\Temp\RtmpGEF6un\downloaded_packages’
> install.packages("RcppParallel", dependencies = TRUE)
Installing package into ‘C:/Users/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)

  There is a binary version available but the source
  version is later:
             binary source needs_compilation
RcppParallel  5.0.2  5.0.3              TRUE

installing the source package ‘RcppParallel’

trying URL 'https://cran.rstudio.com/src/contrib/RcppParallel_5.0.3.tar.gz'
Content type 'application/x-gzip' length 1469709 bytes (1.4 MB)
downloaded 1.4 MB

* installing *source* package 'RcppParallel' ...
** package 'RcppParallel' successfully unpacked and MD5 sums checked
** using staged installation
** preparing to configure package 'RcppParallel' ...
*** configured file: 'src/Makevars.in' => 'src/Makevars'
** finished configure for package 'RcppParallel'
** libs

*** arch - i386
Created ../build/lib_release directory
../../build/Makefile.tbb:32: CONFIG: cfg=release arch=ia32 compiler=gcc target=windows runtime=mingw
sh: C:/Users/Documents/R: Is a directory
make[2]: *** [../../build/common_rules.inc:119: concurrent_hash_map.o] Error 126
make[1]: *** [Makefile:104: tbb_release] Error 2
cp: cannot stat 'tbb/build/lib_release/tbb*.dll': No such file or directory
make: *** [Makevars:100: tbb] Error 1
ERROR: compilation failed for package 'RcppParallel'
* removing 'C:/Users/Documents/R/win-library/4.0/RcppParallel'
Warning in install.packages :
  installation of package ‘RcppParallel’ had non-zero exit status

The downloaded source packages are in
    ‘C:\Users\AppData\Local\Temp\RtmpGEF6un\downloaded_packages’
4

0 回答 0