Trouble Installing geoR package
Asked Answered
R

2

1

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?

Rosyrot answered 9/4, 2014 at 7:18 Comment(1)
According to the CRAN page, 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.Perennate
A
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.

Athalia answered 15/4, 2014 at 12:57 Comment(0)
D
0

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

Dobb answered 6/10, 2022 at 22:51 Comment(1)
Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.Intonate

© 2022 - 2024 — McMap. All rights reserved.