我使用R (2.15.3)与剂量-反应曲线包(drc)。现在,我在3.0.1版中安装了Linux 16和R。而是尝试安装drc软件包,我得到了一个错误。有人知道我能做什么吗?我已经重新安装了R.是因为新版本吗?或者还有别的原因。我使用Linux 16。
非常感谢你的帮助。
错误:
> install.packages("drc")
Installing package into ‘/home/thomas/R/x86_64-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
also installing the dependency ‘gtools’
versuche URL 'http://cran.rstudio.com/src/contrib/gtools_3.4.0.tar.gz'
Content type 'application/x-gzip' length 56047 bytes (54 Kb)
URL geöffnet
==================================================
downloaded 54 Kb
versuche URL 'http://cran.rstudio.com/src/contrib/drc_2.3-96.tar.gz'
Content type 'application/x-gzip' length 233535 bytes (228 Kb)
URL geöffnet
==================================================
downloaded 228 Kb
* installing *source* package ‘gtools’ ...
** Paket ‘gtools’ erfolgreich entpackt und MD5 Summen überprüft
** libs
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g -c setTCPNoDelay.c -o setTCPNoDelay.o
In file included from setTCPNoDelay.c:1:0:
/usr/share/R/include/R.h:28:20: fatal error: stdlib.h: Datei oder Verzeichnis nicht gefunden
#include <stdlib.h>
^
compilation terminated.
make: *** [setTCPNoDelay.o] Fehler 1
ERROR: compilation failed for package ‘gtools’
* removing ‘/home/thomas/R/x86_64-pc-linux-gnu-library/3.0/gtools’
Warning in install.packages :
installation of package ‘gtools’ had non-zero exit status
ERROR: dependency ‘gtools’ is not available for package ‘drc’
* removing ‘/home/thomas/R/x86_64-pc-linux-gnu-library/3.0/drc’
Warning in install.packages :
installation of package ‘drc’ had non-zero exit status发布于 2014-04-28 13:23:32
Linux86_64上的gtools似乎有问题。CRAN检查结果返回一条错误消息。您可以在gtools中安装早期版本的克拉恩档案馆。尝试安装以前版本的gtools,然后再安装drc。
https://stackoverflow.com/questions/23341697
复制相似问题