0

I have just installed R and R studio (version 3.0.1) on my Xubuntu 13.10. I want to use the geoR package. However, when I tried to install it, I got an error:

install.packages("geoR")

Installing package into ‘/home/.../R/x86_64-pc-linux-gnu-library/3.0’ (as ‘lib’ is unspecified)

...

ERROR: dependency ‘RandomFields’ is not available for package ‘geoR’ * removing ‘/home/.../R/x86_64-pc-linux-gnu-library/3.0/geoR’

so I tried to install RandomFields

install.packages("RandomFields")

...

Installing package into ‘/home/.../R/x86_64-pc-linux-gnu-library/3.0’ (as ‘lib’ is unspecified)

Warning in install.packages : package ‘RandomFields’ is not available (for R version 3.0.1)

Can you help me what to do with it?

www
  • 37,164
  • 12
  • 37
  • 72
  • According to the [CRAN page](http://cran.r-project.org/web/packages/RandomFields/index.html), `RandomFields` requires R 3.0.2 or greater. So you're stuck unless you can install a more recent version of R on your system. – jlhoward Apr 09 '14 at 16:11

1 Answers1

1

You need to get latest R packages for your Xubuntu version (Saucy Salamander).

sudo add-apt-repository "deb..."

They write how to in Installation section. Then you need to upgrade to new version of R.

sudo apt-get update && sudo apt-get upgrade

It will work after that.

Jan Špička
  • 52
  • 1
  • 11