Download and installation

Statistical back-end

R-package Installation

Windows Linux R-package installation Documentation Examples

Precompiled binaries of R for both Linux and Windows can be downloaded and installed from CRAN . Alternatively you can download the necessary files using the links above.

The R intamap-package is the core of the computational back-end of the INTAMAP interpolation service. It is a package completely implemented in R [R Development Core Team, 2009]. The package is uploaded to the the Comprehensive R Network Archives (CRAN) (http://cran.r-project.org) where it can be easily downloaded directly from R.

Packages on CRAN can easiest be installed through an R-session, either by calling the command > install.packages("packageName") or by choosing install.packages from the Packages menue in Rgui for Windows. This is the preferred installation method, as you will at the same time download and install the packages that the package depend on.

Windows

For Windows, a zip-file is used for installation (downloadable through one of the download buttons above)

  1. Open the Rgui
  2. From the menus, choose Packages -> install package(s) from local zip-files
  3. Choose one of the many mirrors
  4. Install the package downloaded above
  5. A package is loaded into an R-session with: > library(packagename)

Linux

For Linux, the source tar-ball is used for installation: > R CMD INSTALL intamap_x.x-x.tar.gz

If you have limited write access on the computer, you might have to set the R library to be somewhere you have a write access. Create the file .Rprofile in your home directory with

.libPaths("/home/myuser/RLIBS/")

Or .Renviron with:

.libPaths("/home/myuser/RLIBS/")

Alternatively, set the R_LIBS environment variable to the lib directory, or equivalently start R by

> R_LIBS=/home/myuser/RLIBS R

Usage instructions for the R intamap package show how the exploit the INTAMAP system in R without needing to use the WPS.