gpt4 book ai didi

r - lme4 无法在 Ubuntu (Precise Pangolin) 上构建 : RcppEigen. h: 没有这样的文件

转载 作者:行者123 更新时间:2023-12-04 18:30:37 26 4
gpt4 key购买 nike

我在 Ubuntu (Precise Pengolin) 下安装 lme4 时遇到问题。我收到以下错误消息:

** help
*** installing help indices
** building package indices
Loading required package: Matrix
** installing vignettes
‘Comparisons.Rnw’
‘Design-issues.Rnw’
‘Intro2Matrix.Rnw’
‘Introduction.Rnw’
‘sparseModels.Rnw’
** testing if installed package can be loaded
* DONE (Matrix)
* installing *source* package ‘lme4’ ...
** Paket ‘lme4’ erfolgreich entpackt und MD5 Summen überprüft
** libs
g++ -I/usr/share/R/include -DNDEBUG -I"/usr/local/lib/R/site-library/Rcpp/include" -DNDEBUG -DEIGEN_DONT_VECTORIZE -fpic -O3 -pipe -g -c external.cpp -o external.o
In file included from external.cpp:7:0:
predModule.h:12:23: fatal error: RcppEigen.h: No such file or directory
compilation terminated.
make: *** [external.o] Error 1
ERROR: compilation failed for package ‘lme4’

我的 session 信息:
sessionInfo()
R version 3.0.1 (2013-05-16)
Platform: i686-pc-linux-gnu (32-bit)

locale:
[1] LC_CTYPE=de_DE.UTF-8 LC_NUMERIC=C
[3] LC_TIME=de_DE.UTF-8 LC_COLLATE=de_DE.UTF-8
[5] LC_MONETARY=de_DE.UTF-8 LC_MESSAGES=de_DE.UTF-8
[7] LC_PAPER=C LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] tools_3.0.1

有任何想法吗?

最佳答案

我在 ubuntu 14.04 下遇到了同样的问题,并通过安装 解决了它r-base-dev 包裹:

sudo apt-get install r-base-dev

关于r - lme4 无法在 Ubuntu (Precise Pangolin) 上构建 : RcppEigen. h: 没有这样的文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19603785/

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