
34 Spatial Point Patterns: Methodology and Applications with R
2.2 Packages for R
2.2.1 Packages and libraries
A package is a collection of addition al features that c a n be added to R. It is usually supplied as
an archive file with extension .zip or .tar.gz, compacted from several files con ta ining code in
the R language and other languages, help files, datasets, vignettes (demonstration exam ples with
explanation), and test examples.
A standard installation of R com es with several essential default pac kages, such as stats (which
as we saw above contains the critically useful function lm) and graphics. These packa ges are
‘loaded’ (see below) automatically ...