Frage

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?

War es hilfreich?

Lösung

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.

Andere Tipps

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top