[英]Trouble Installing geoR package
I have just installed R and R studio (version 3.0.1) on my Xubuntu 13.10.我刚刚在我的 Xubuntu 13.10 上安装了 R 和 R 工作室(版本 3.0.1)。 I want to use the
geoR
package. However, when I tried to install it, I got an error:我想使用
geoR
package。但是,当我尝试安装它时,出现错误:
install.packages("geoR")
Installing package into '/home/.../R/x86_64-pc-linux-gnu-library/3.0' (as 'lib' is unspecified)
将 package 安装到“/home/.../R/x86_64-pc-linux-gnu-library/3.0”(因为“lib”未指定)
...
...
ERROR: dependency 'RandomFields' is not available for package 'geoR' * removing '/home/.../R/x86_64-pc-linux-gnu-library/3.0/geoR'
错误:依赖项“RandomFields”不适用于 package“geoR”* 删除“/home/.../R/x86_64-pc-linux-gnu-library/3.0/geoR”
so I tried to install RandomFields
所以我尝试安装
RandomFields
install.packages("RandomFields")
...
...
Installing package into '/home/.../R/x86_64-pc-linux-gnu-library/3.0' (as 'lib' is unspecified)
将 package 安装到“/home/.../R/x86_64-pc-linux-gnu-library/3.0”(因为“lib”未指定)
Warning in install.packages: package 'RandomFields' is not available (for R version 3.0.1)
install.packages 中的警告:package 'RandomFields' 不可用(对于 R 版本 3.0.1)
Can you help me what to do with it?你能帮我怎么办吗?
You need to get latest R packages for your Xubuntu version (Saucy Salamander). 您需要为您的Xubuntu版本(Saucy Salamander)获得最新的R包 。
sudo add-apt-repository "deb..."
They write how to in Installation section. 他们在“安装”部分中写了如何操作。 Then you need to upgrade to new version of R.
然后,您需要升级到R的新版本。
sudo apt-get update && sudo apt-get upgrade
It will work after that. 在那之后它将起作用。
I solve the problem installing a compiler.我解决了安装编译器的问题。 I have linux mint 21 and from the terminal, whit
sudo apt-get install gfortran
the install doesnt have any problem我有 linux mint 21 并且来自终端,whit
sudo apt-get install gfortran
安装没有任何问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.