R statistics: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 27: Line 27:
* Connecting R to RDBMS: http://grass.itc.it/statsgrass/r_and_dbms.html
* Connecting R to RDBMS: http://grass.itc.it/statsgrass/r_and_dbms.html
* Using GRASS and R: http://grass.itc.it/statsgrass/grass_r_interface.html
* Using GRASS and R: http://grass.itc.it/statsgrass/grass_r_interface.html
[[Category:Installation]]
[[Category:FAQ]]

Revision as of 20:00, 16 June 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: