R statistics: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 5: Line 5:
First of all you need to get R in your system, the R version must be >= 1.9.1:
First of all you need to get R in your system, the R version must be >= 1.9.1:


* '''Debian GNU/Linux''' user, if you usually upgrade your system with apt-get, add to file /etc/apt/sources.list the line:  
'''Debian GNU/Linux''' user, if you usually upgrade your system with apt-get, add to file /etc/apt/sources.list the line:  


deb http://cran.r-project.org/bin/linux/debian woody main
deb http://cran.r-project.org/bin/linux/debian woody main

Revision as of 08:05, 19 May 2006

Q: How do I enjoy high quality statistic analysis in GRASS?

A: Well, GRASS has got an interface to the most powerful statistics analysis package around: R-stats (http://www.r-project.org)

First of all you need to get R in your system, the R version must be >= 1.9.1:

Debian GNU/Linux user, if you usually upgrade your system with apt-get, add to file /etc/apt/sources.list the line:

deb http://cran.r-project.org/bin/linux/debian woody main

or point it to a mirror site near you. Then run 'apt-get update' and 'apt-get upgrade', this will upgrade all debian packages (including R, with the newest release).Michele.

RedHat, Suse, Mandrake and so: take the latest R rpm and install it

Once you have got R in your system, take a look at http://grass.itc.it/statsgrass/grass_r_install.html. For the impatient just start it:

> R

and install packages directly from the net

> install.packages("akima") > install.packages("VR") > install.packages("GRASS") > install.packages("RODBC")

See also: