R statistics: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
'''A:''' Well, GRASS has got an interface to the most powerful statistics analysis package around: R-stats (http://www.r-project.org) | '''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 | First of all you need to add R to 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: | ||
Line 9: | Line 9: | ||
deb http://cran.r-project.org/bin/linux/debian woody main | 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. | 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 | '''RedHat, Suse, Mandrake''' and similar distros: take the latest R rpm and install it | ||
Once you have | Once you have R in your system, take a look at http://grass.itc.it/statsgrass/grass_r_install.html. For the impatient just start it: | ||
<pre> | <pre> |
Revision as of 15:20, 19 December 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 add R to 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 similar distros: take the latest R rpm and install it
Once you have 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:
- 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