Skip to content
Prev 14187 / 29559 Next

Comprehensive R package for Spatial Stats

On Sat, 11 Feb 2012, Tom Gottfried wrote:

            
Exactly. If you install ctv first:

install.packages("ctv")
library(ctv)

you use:

install.views("Spatial", coreOnly=TRUE)

or:

download.views("Spatial", coreOnly=TRUE, destdir="spatial_tv")

or similar. These will also examine package dependencies on the download 
system, so for portability - to include the full dependency tree, run on a 
fresh installation of R. If coreOnly=FALSE, you pull in everything in the 
task view and all their dependencies, which can be quite a lot.

If there are suggestions for moving packages into/out of core, I'd be 
interested to hear.

Of course, OSX users should setRepositories(ind=1:2) before 
install.views() to pick up rgdal and rgeos from CRAN extras.

Unix/Linux users will need to provide the external dependencies to 
packages failing to install with unsatisfied dependencies.

Roger