Difference between revisions of "R"

From gnewarchaeology wiki
Jump to: navigation, search
Line 21: Line 21:
 
<code>
 
<code>
 
deb http://<favourite-cran-mirror>/bin/linux/debian jessie-cran3/
 
deb http://<favourite-cran-mirror>/bin/linux/debian jessie-cran3/
 +
deb-src <favourite-cran-mirror>/bin/linux/debian jessie-cran3/
 
</code>
 
</code>
  

Revision as of 10:26, 22 January 2016

R



References

Install & Configure

Install R from your preferred CRAN mirror.

For a backport of R 3.2.3 to jessie, simply add something like

deb http://<favourite-cran-mirror>/bin/linux/debian jessie-cran3/ deb-src <favourite-cran-mirror>/bin/linux/debian jessie-cran3/

to the file /etc/apt/sources.list on your computer. You need to substitute <favourite-cran-mirror> by one of the mirror URLs listed in the mirror list.

The Debian backports archives on CRAN are signed with the key of Johannes Ranke (CRAN Debian archive) <jranke@uni-bremen.de> with key ID 381BA480. You can fetch and import this with

$ apt-key adv --keyserver keys.gnupg.net --recv-key 381BA480
$ sudo apt-get install r-base

Install RStudio from [2]

Data import & export

PostgreSQL/PostGIS connection

Applied Spatial Data Analysis with R

  • Roger S. Bivand, Edzer J. Pebesma and V. Gómez-Rubio. UseR! Series, Springer, 2008, 378 p., Softcover ISBN: 978-0-387-78170-9

Spatial Point Pattern Analysis

Geostatistics

Areal Data and Spatial Autocorrelation