Other packages > Find by keyword >

sp  

Classes and Methods for Spatial Data
View on CRAN: Click here


Download and install sp package within the R console
Install from CRAN:
install.packages("sp")

Install from Github:
library("remotes")
install_github("cran/sp")

Install by package version:
library("remotes")
install_version("sp", "2.2-3")



Attach the package and use:
library("sp")
Maintained by
Edzer Pebesma
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2005-04-28
Latest Update: 2025-02-01
Description:
Classes and methods for spatial data; the classes document where the spatial location information resides, for 2D or 3D data. Utility functions are provided, e.g. for plotting data as maps, spatial selection, as well as methods for retrieving coordinates, for subsetting, print, summary, etc. From this version, 'rgdal', 'maptools', and 'rgeos' are no longer used at all, see <https://r-spatial.org/r/2023/05/15/evolution4.html> for details.
How to cite:
Edzer Pebesma (2005). sp: Classes and Methods for Spatial Data. R package version 2.2-3, https://cran.r-project.org/web/packages/sp. Accessed 08 Oct. 2026.
Previous versions and publish date:
(2026-07-19 18:10), 0.7-3 (2005-04-28 08:20), 0.7-4 (2005-04-28 11:16), 0.7-5 (2005-05-10 23:13), 0.7-6 (2005-05-11 18:28), 0.7-7 (2005-05-30 12:55), 0.7-8 (2005-06-08 18:54), 0.7-9 (2005-06-16 09:31), 0.7-10 (2005-06-23 07:33), 0.8-1 (2005-09-06 23:49), 0.8-2 (2005-09-12 09:41), 0.8-3 (2005-09-14 13:18), 0.8-4 (2005-10-14 16:03), 0.8-7 (2005-12-15 17:55), 0.8-8 (2006-01-21 12:59), 0.8-9 (2006-01-30 11:48), 0.8-11 (2006-02-21 13:40), 0.8-12 (2006-03-21 09:28), 0.8-14 (2006-04-11 16:16), 0.8-16 (2006-06-26 13:07), 0.8-18 (2006-07-10 11:40), 0.8-19 (2006-09-15 12:23), 0.8-20 (2006-09-19 12:59), 0.9-1 (2006-10-03 12:41), 0.9-2 (2006-10-06 13:31), 0.9-3 (2006-10-17 20:47), 0.9-4 (2006-10-20 16:03), 0.9-7 (2007-02-01 15:03), 0.9-8 (2007-02-11 13:55), 0.9-9 (2007-03-12 11:18), 0.9-10 (2007-03-14 13:12), 0.9-11 (2007-03-19 20:54), 0.9-12 (2007-04-06 13:42), 0.9-13 (2007-04-13 16:37), 0.9-14 (2007-06-04 11:19), 0.9-16 (2007-10-15 20:51), 0.9-17 (2007-11-03 19:43), 0.9-19 (2007-12-24 10:48), 0.9-23 (2008-02-18 20:17), 0.9-24 (2008-03-14 17:50), 0.9-25 (2008-04-08 10:18), 0.9-26 (2008-07-05 18:33), 0.9-27 (2008-10-30 07:51), 0.9-28 (2008-10-30 16:21), 0.9-29 (2009-01-04 15:55), 0.9-31 (2009-02-16 10:59), 0.9-32 (2009-02-20 08:45), 0.9-34 (2009-03-31 20:00), 0.9-36 (2009-04-29 20:08), 0.9-37 (2009-05-28 09:13), 0.9-43 (2009-07-19 22:10), 0.9-44 (2009-09-18 22:32), 0.9-47 (2009-11-20 12:25), 0.9-51 (2009-12-07 08:47), 0.9-52 (2009-12-14 20:58), 0.9-56 (2010-01-13 08:46), 0.9-57 (2010-01-27 11:51), 0.9-59 (2010-02-11 09:45), 0.9-60 (2010-02-15 06:59), 0.9-61 (2010-03-09 10:11), 0.9-62 (2010-04-18 19:38), 0.9-64 (2010-05-17 15:24), 0.9-65 (2010-06-23 16:16), 0.9-66 (2010-07-24 22:43), 0.9-69 (2010-09-21 10:15), 0.9-70 (2010-10-04 21:18), 0.9-71 (2010-10-11 12:00), 0.9-72 (2010-10-19 12:01), 0.9-73 (2010-11-22 15:31), 0.9-74 (2010-11-29 21:30), 0.9-75 (2010-12-13 14:26), 0.9-76 (2010-12-19 10:08), 0.9-77 (2011-02-21 07:44), 0.9-78 (2011-02-23 10:33), 0.9-79 (2011-03-14 11:01), 0.9-80 (2011-04-13 11:26), 0.9-81 (2011-05-09 17:31), 0.9-82 (2011-05-31 16:52), 0.9-83 (2011-06-15 20:05), 0.9-84 (2011-07-23 17:55), 0.9-85 (2011-08-25 14:17), 0.9-86 (2011-09-11 22:31), 0.9-87 (2011-09-14 08:45), 0.9-88 (2011-09-14 14:36), 0.9-90 (2011-10-17 20:42), 0.9-91 (2011-10-23 20:41), 0.9-92 (2011-12-19 12:59), 0.9-93 (2011-12-21 10:21), 0.9-94 (2012-02-01 07:50), 0.9-95 (2012-02-14 08:21), 0.9-96 (2012-03-01 20:37), 0.9-97 (2012-03-10 15:03), 0.9-98 (2012-03-27 13:26), 0.9-99 (2012-05-02 14:33), 1.0-0 (2012-09-30 16:14), 1.0-1 (2012-10-10 07:30), 1.0-2 (2012-10-31 16:35), 1.0-4 (2012-12-18 14:46), 1.0-5 (2012-12-21 16:39), 1.0-6 (2013-03-12 13:42), 1.0-8 (2013-03-29 13:10), 1.0-9 (2013-04-22 19:44), 1.0-11 (2013-06-30 19:25), 1.0-12 (2013-09-02 13:39), 1.0-13 (2013-09-05 08:33), 1.0-14 (2013-10-24 09:38), 1.0-15 (2014-04-09 21:46), 1.0-16 (2014-11-09 16:10), 1.0-17 (2015-01-08 11:01), 1.1-0 (2015-04-24 13:41), 1.1-1 (2015-06-05 14:58), 1.2-0 (2015-09-08 11:01), 1.2-1 (2015-10-18 10:33), 1.2-2 (2016-02-05 22:01), 1.2-3 (2016-04-14 16:58), 1.2-4 (2016-12-22 09:25), 1.2-5 (2017-06-29 11:07), 1.2-6 (2018-01-05 13:54), 1.2-7 (2018-01-19 15:54), 1.3-1 (2018-06-05 15:58), 1.3-2 (2019-11-08 00:00), 1.4-0 (2020-02-21 14:40), 1.4-1 (2020-02-29 00:20), 1.4-2 (2020-05-20 12:10), 1.4-4 (2020-10-07 17:00), 1.4-5 (2021-01-10 14:10), 1.4-6 (2021-11-14 17:00), 1.4-7 (2022-04-20 12:00), 1.5-0 (2022-06-05 19:30), 1.5-1 (2022-11-07 10:10), 1.6-0 (2023-01-20 00:30), 1.6-1 (2023-05-31 10:00), 2.0-0 (2023-06-22 09:40), 2.1-0 (2023-10-02 08:50), 2.1-1 (2023-10-16 21:30), 2.1-2 (2023-11-27 00:20), 2.1-3 (2024-01-30 11:20), 2.1-4 (2024-04-30 16:20), 2.2-0 (2025-02-01 10:40), 2.2-1 (2026-02-13 11:30)
Other packages that cited sp R package
View sp citation profile
Other R packages that sp depends, imports, suggests or enhances
Complete documentation for sp
Functions, R codes and Examples using the sp R package
Some associated functions: 00sp . CRS-class . DMS-class . GridTopology-class . GridsDatums . Line-class . Line . Lines-class . Polygon-class . Polygons-class . Rlogo . Spatial-class . SpatialGrid-class . SpatialGrid . SpatialGridDataFrame-class . SpatialGridDataFrame . SpatialLines-class . SpatialLines . SpatialLinesDataFrame-class . SpatialMultiPoints-class . SpatialMultiPoints . SpatialMultiPointsDataFrame-class . SpatialPixels-class . SpatialPixelsDataFrame-class . SpatialPoints-class . SpatialPoints . SpatialPointsDataFrame-class . SpatialPolygons-class . SpatialPolygons . SpatialPolygonsDataFrame-class . addattr . aggregate . as.SpatialPolygons.GridTopology . as.SpatialPolygons.PolygonsList . asciigrid . bbox . bpy.colors . bubble . char2dms . compassRose . coordinates-methods . coordinates . coordnames-methods . degaxis . dimensions . disaggregate . elide-methods . flip . geometry-methods . gridded-methods . gridindex2nb . gridlines . image . is.projected . loadmeuse . mapasp . merge . meuse.grid . meuse.grid_ll . meuse . meuse.riv . over . panel . point.in.polygon . polygons-methods . polygons . recenter-methods . select.spatial . sp-deprecated . sp2Mondrian . spChFIDs-methods . spDistsN1 . spTransform . spplot . spsample . stack . surfaceArea . zerodist . 
Some associated R codes: AAA.R . CRS-methods.R . Class-CRS.R . Class-GridTopology.R . Class-Spatial.R . Class-SpatialGrid.R . Class-SpatialGridDataFrame.R . Class-SpatialLines.R . Class-SpatialLinesDataFrame.R . Class-SpatialMultiPoints.R . Class-SpatialMultiPointsDataFrame.R . Class-SpatialPoints.R . Class-SpatialPointsDataFrame.R . Class-SpatialPolygons.R . Class-SpatialPolygonsDataFrame.R . GridTopology-methods.R . Spatial-methods.R . SpatialGrid-methods.R . SpatialGridDataFrame-methods.R . SpatialLines-methods.R . SpatialLinesDataFrame-methods.R . SpatialMultiPoints-methods.R . SpatialMultiPointsDataFrame-methods.R . SpatialPoints-methods.R . SpatialPointsDataFrame-methods.R . SpatialPolygons-displayMethods.R . SpatialPolygons-internals.R . SpatialPolygons-methods.R . SpatialPolygonsDataFrame-methods.R . aggregate.R . asciigrid.R . bpy.colors.R . bubble.R . chfids.R . compassRose.R . disaggregate.R . dms.R . elide.R . flipSGDF.R . gridded.R . gridlines.R . image.R . loadmeuse.R . mapasp.R . merge.R . over.R . point.in.polygon.R . projected.R . rbind.R . recenter.R . select.spatial.R . sp2Mondrian.R . spOptions.R . sp_spat1.R . spdists.R . spplot.R . spsample.R . stack.R . subset.R . surfaceArea.R . zerodist.R .  Full sp package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

dineR  
Differential Network Estimation in R
An efficient and convenient set of functions to perform differential network estimation through the ...
Download / Learn more Package Citations See dependency  
abc.data  
Data Only: Tools for Approximate Bayesian Computation (ABC)
Contains data which are used by functions of the 'abc' package. ...
Download / Learn more Package Citations See dependency  
climwin  
Climate Window Analysis
Contains functions to detect and visualise periods of climate sensitivity (climate windows) for a g ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
metafor  
Meta-Analysis Package for R
A comprehensive collection of functions for conducting meta-analyses in R. The package includes func ...
Download / Learn more Package Citations See dependency  
colorfindr  
Extract Colors from Windows BMP, JPEG, PNG, TIFF, and SVG Format Images
Extracts colors from various image types, returns customized reports and plots treemaps and 3D scat ...
Download / Learn more Package Citations See dependency  

28,905

R Packages

247,686

Dependencies

76,495

Author Associations

28,906

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA