小编use*_*881的帖子

错误:需要"NAMESPACE"文件

我正在尝试使用Linux机器上安装一些R软件包

R CMD INSTALL -l <ourRlibrarylocation> <path where I saved the packagename.tar.gz file>
Run Code Online (Sandbox Code Playgroud)

我看到一条错误消息:

ERROR: a 'NAMESPACE' file is required
Run Code Online (Sandbox Code Playgroud)

我使用的是R 3.0.1.请帮助,我是R的新手,刚刚为客户下载了这些软件包.

一个例子:

 R CMD INSTALL -l /abcde/R/R-3.0.0/library /home/RFILES/PKG/UScensus2000tract_0.03.tar.gz
* installing *source* package âUScensus2000tractâ ...
ERROR: a 'NAMESPACE' file is required
* removing â/abcde/R/R-3.0.0/library/UScensus2000tractâ
Run Code Online (Sandbox Code Playgroud)

namespaces r r-faq

17
推荐指数
2
解决办法
1万
查看次数

无法在Red Hat linux上安装rgdal和rgeos R库

rgdal adn rgoes在redhat linux机器上编译包时遇到错误.我试图做一些研究,但找不到可能的解决方案.能不能帮我解决这个问题,因为这对我来说非常重要.

**ERROR WHILE COMPILING RGDAL in R 3.0**

**strong text**
* installing *source* package ârgdalâ ...
** package ârgdalâ successfully unpacked and MD5 sums checked
configure: CC: gcc -std=gnu99
configure: CXX: g++
configure: rgdal: 0.8-10
checking for /usr/bin/svnversion... yes
configure: svn revision: 496
configure: gdal-config: gdal-config
checking gdal-config usability... ./configure: line 1397: gdal-config: command not found
no
Error: gdal-config not found
The gdal-config script distributed with GDAL could not be found.
If you have not …
Run Code Online (Sandbox Code Playgroud)

redhat r geos rgdal

11
推荐指数
2
解决办法
7704
查看次数

标签 统计

r ×2

geos ×1

namespaces ×1

r-faq ×1

redhat ×1

rgdal ×1