Other packages > Find by keyword >

raster  

Geographic Data Analysis and Modeling
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("raster", "3.6-32")



Attach the package and use:
library("raster")
Maintained by
Robert J. Hijmans
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2010-03-20
Latest Update: 2025-03-28
Description:
Reading, writing, manipulating, analyzing and modeling of spatial data. This package has been superseded by the "terra" package .
How to cite:
Robert J. Hijmans (2010). raster: Geographic Data Analysis and Modeling. R package version 3.6-32, https://cran.r-project.org/web/packages/raster. Accessed 09 Oct. 2026.
Previous versions and publish date:
(2026-07-09 06:48), 1.0.0-1 (2010-03-20 11:08), 1.0.4 (2010-04-19 19:55), 1.1.7 (2010-06-04 10:41), 1.2-6 (2010-06-24 07:46), 1.3-1 (2010-07-24 22:43), 1.3-4 (2010-07-27 20:34), 1.3-11 (2010-08-12 19:14), 1.4-10 (2010-08-29 09:13), 1.5-8 (2010-09-21 10:15), 1.5-16 (2010-10-11 21:14), 1.6-10 (2010-11-03 08:43), 1.6-15 (2010-11-08 08:33), 1.6-16 (2010-11-10 12:18), 1.6-19 (2010-11-15 08:28), 1.6-22 (2010-11-21 10:16), 1.7-6 (2010-12-02 13:51), 1.7-8 (2010-12-03 09:33), 1.7-18 (2010-12-21 18:05), 1.7-23 (2011-01-05 07:46), 1.7-29 (2011-01-17 21:56), 1.7-46 (2011-02-27 19:06), 1.8-3 (2011-03-14 09:32), 1.8-9 (2011-03-27 10:28), 1.8-12 (2011-04-12 11:33), 1.8-20 (2011-05-11 09:19), 1.8-22 (2011-05-13 08:58), 1.8-25 (2011-05-25 08:37), 1.8-27 (2011-05-27 08:48), 1.8-31 (2011-06-06 08:26), 1.8-35 (2011-06-15 20:04), 1.8-38 (2011-06-18 10:03), 1.8-39 (2011-07-05 10:44), 1.9-1 (2011-07-23 16:42), 1.9-5 (2011-07-30 17:04), 1.9-11 (2011-09-13 06:39), 1.9-12 (2011-09-15 07:58), 1.9-13 (2011-09-16 19:43), 1.9-19 (2011-09-23 13:46), 1.9-27 (2011-10-12 22:05), 1.9-29 (2011-10-20 10:48), 1.9-32 (2011-10-25 09:48), 1.9-33 (2011-10-27 09:23), 1.9-41 (2011-11-10 21:01), 1.9-44 (2011-11-18 15:27), 1.9-46 (2011-11-26 08:42), 1.9-52 (2011-12-03 10:35), 1.9-54 (2011-12-07 11:52), 1.9-55 (2011-12-11 18:42), 1.9-58 (2011-12-22 12:22), 1.9-63 (2012-01-15 21:48), 1.9-64 (2012-01-17 21:52), 1.9-67 (2012-02-07 09:44), 1.9-70 (2012-02-27 10:28), 1.9-82 (2012-04-06 07:06), 1.9-92 (2012-05-02 08:33), 2.0-04 (2012-06-18 09:25), 2.0-05 (2012-06-21 18:39), 2.0-08 (2012-06-28 11:03), 2.0-12 (2012-09-02 07:46), 2.0-29 (2012-11-08 06:42), 2.0-31 (2012-11-10 08:53), 2.0-41 (2012-12-24 07:20), 2.1-12 (2013-03-12 09:53), 2.1-16 (2013-03-13 21:39), 2.1-25 (2013-04-12 14:36), 2.1-37 (2013-06-15 07:58), 2.1-41 (2013-07-02 19:42), 2.1-48 (2013-07-09 07:58), 2.1-49 (2013-07-11 19:49), 2.1-66 (2013-11-18 08:28), 2.2-5 (2014-01-01 18:32), 2.2-12 (2014-01-20 20:15), 2.2-31 (2014-03-07 16:01), 2.3-0 (2014-09-06 08:07), 2.3-10 (2014-10-17 00:27), 2.3-12 (2014-10-18 07:24), 2.3-24 (2015-01-27 09:17), 2.3-33 (2015-03-14 08:39), 2.3-40 (2015-04-11 08:12), 2.4-15 (2015-07-02 01:32), 2.4-18 (2015-08-15 23:12), 2.4-20 (2015-09-08 11:01), 2.4-30 (2015-12-10 23:43), 2.5-2 (2015-12-19 09:59), 2.5-8 (2016-06-02 18:31), 2.6-7 (2017-11-13 20:31), 2.7-15 (2018-10-16 21:10), 2.8-4 (2018-11-03 18:00), 2.8-19 (2019-01-30 18:40), 2.9-5 (2019-05-15 01:10), 2.9-22 (2019-07-10 16:02), 2.9-23 (2019-07-11 15:43), 3.0-2 (2019-08-22 23:50), 3.0-7 (2019-09-24 17:40), 3.0-12 (2020-01-30 10:00), 3.1-5 (2020-04-19 08:10), 3.3-6 (2020-06-26 18:00), 3.3-7 (2020-06-27 16:20), 3.3-13 (2020-07-17 08:40), 3.4-5 (2020-11-14 16:30), 3.4-10 (2021-05-03 07:50), 3.4-13 (2021-06-18 09:40), 3.5-2 (2021-10-11 20:40), 3.5-9 (2021-12-10 07:10), 3.5-11 (2021-12-23 11:10), 3.5-15 (2022-01-23 00:02), 3.5-21 (2022-06-27 22:00), 3.5-29 (2022-08-14 11:20), 3.6-3 (2022-09-18 22:26), 3.6-11 (2022-11-28 16:20), 3.6-13 (2023-01-07 15:00), 3.6-14 (2023-01-16 14:10), 3.6-20 (2023-03-06 13:00), 3.6-23 (2023-07-04 13:40), 3.6-26 (2023-10-14 15:40), 3.6-30 (2024-10-02 20:10), 3.6-31 (2025-01-16 19:50)
Other packages that cited raster R package
View raster citation profile
Other R packages that raster depends, imports, suggests or enhances
Complete documentation for raster
Functions, R codes and Examples using the raster R package
Some associated functions: Arith-methods . Compare-methods . Extent-class . KML . Logic-methods . Math-methods . NAvalue . RGB . Raster-classes . Rcpp-classes . Summary-methods . addLayer . adjacent . aggregate . alignExtent . animate . approxNA . area . as.character . as.data.frame . as.list . as.logical-methods . as.matrix . as.raster . atan2 . autocor . bands . barplot . bind . blockSize . boundaries . boxplot . brick . buffer . calc . cellFrom . cellStats . cellsFromExtent . clamp . clearValues . click . clump . cluster . colortable . compare . compareCRS . contour . coords . corLocal . cover . crop . crosstab . cut . cv . dataType . datasource . density . dimensions . direction . disaggregate . distance . distanceFromPoints . draw . drawExtent . erase . extend . extension . extent . extract . extractIndex . extremeValues . factor . filename . filledContour . flip . flowpath . focal . focalWeight . freq . gainoffset . geom . getData . getValues . getValuesBlock . getValuesFocal . gridDistance . hdrFiles . headtail . hillShade . hist . image . iniFile . init . interpolate . intersect . isLonLat . layerStats . layerize . localFun . mask . match . merge . metadata . modal . mosaic . movingFun . names . ncell . nlayers . origin . overlay . pairs . persp . plot . plotRGB . pointDistance . predict . programming . projectRaster . projection . properties . quantile . raster-package . raster . rasterFromCells . rasterFromXYZ . rasterOptions . rasterTmpFile . rasterToContour . rasterToPoints . rasterToPolygons . rasterize . readAll . reclassify . rectify . replacement . resample . resolution . rotate . rotated . round . roundExtent . rowFromCell . rowSums . sampleInt . sampleRandom . sampleRegular . sampleStratified . saveStack . scale . scalebar . select . setExtent . setMinMax . setValues . shapefile . shift . slopeAspect . spEasy . spplot . stack . stackApply . stackSelect . strech . subs . subset . summary . symdif . terrain . text . transpose . trim . union . unique . unstack . update . validCell . validNames . weighted.mean . which.minmax . which . writeFormats . writeRaster . writeValues . xyFromCell . zApply . zonal . zoom . zvalues . 
Some associated R codes: AAAClasses.R . AAgeneric_functions.R . GDALtransient.R . Geary.R . RGB.R . RcppExports.R . addFiles.R . addLayer.R . adjacency.R . adjacent.R . aggregate_3d.R . aggregate_sp.R . alignExtent.R . animate.R . approxNA.R . area.R . arith.R . arith_sp.R . as.array.R . as.character.R . as.data.frame.R . as.logical.R . as.matrix.R . as.raster.R . as.spatial.R . atan2.R . bands.R . barplot.R . bbox.R . bilinearValue.R . bind.R . blend.R . blockSize.R . boundaries.R . boxplot.R . brick.R . buffer.R . calc.R . canProcessInMemory.R . cellFromLine.R . cellFromPolygon.R . cellRowCol.R . cellStats.R . cellValues.R . cellsFromExtent.R . clamp.R . clearValues.R . click.R . clump.R . clusterR.R . coerce.R . col2RGB.R . colortable.R . commonDataType.R . compare.R . compareCRS.R . compare_Logical.R . connection.R . contour.R . cor.R . corLocal.R . cover.R . coverBrick.R . coverPolygons.R . crop.R . cropSpatial.R . crosstab.R . cut.R . cv.R . dataProperties.R . dataType.R . density.R . destair.R . dim.R . direction.R . disaggregate.R . distance.R . distanceFromPoints.R . distanceRows.R . distanceToEdge.R . dotdens.R . drawExtent.R . drawPoly.R . drivers.R . dropLayer.R . erase.R . extend.R . extension.R . extent.R . extentUnion.R . extract.R . extractExtent.R . extractLines.R . extractPoints.R . extractPoints_sp.R . extractPolygons.R . factor.R . fasterize.R . filler.R . fixDBFnames.R . flip.R . flowpath.R . focal.R . focalFun.R . focalWeight.R . fourCellsFromXY.R . frbind.R . freq.R . fullFileName.R . gainoffset.R . gdal.R . gdalFormats.R . geom.R . getData.R . getValues.R . getValuesBlock.R . getValuesFocal.R . getValuesRows.R . gridDistance.R . gridDistance2.R . hdr.R . hdrBIL.R . hdrBov.R . hdrEnvi.R . hdrErdasRaw.R . hdrIDRISI.R . hdrPRJ.R . hdrRaster.R . hdrSAGA.R . hdrVRT.R . hdrWorldFile.R . head.R . hillShade.R . hist.R . idwValue.R . ifelse.R . image.R . imageplot.R . imageplot2.R . index.R . indexReplace.R . indexReplaceBrick.R . inifile.R . init.R . intDataType.R . interpolate.R . intersect.R . intersect_sp.R . is.na.R . isLonLat.R . kernelDens.R . kernelDensity.R . kml.R . kml_multiple.R . labels.R . layerStats.R . layerize.R . localFun.R . makeProjString.R . makeRasterList.R . makeTiles.R . mask.R . match.R . math.R . maxDataType.R . mean.R . median.R . merge.R . metadata.R . minValue.R . modal.R . modalRaster.R . moran.R . mosaic.R . movingFun.R . multiCore.R . naValue.R . names.R . ncell.R . netCDFread.R . netCDFreadCells.R . netCDFtoRasterCD.R . netCDFtoRasterGMT.R . netCDFtoStack.R . netCDFutil.R . netCDFwriteCD.R . newPLot.R . nlayers.R . notused.R . nsidcICE.R . origin.R . overlay.R . pairs.R . persp.R . plot.R . plot2rasters.R . plotCT.R . plotExent.R . plotRGB.R . plotRaster.R . plotRaster2.R . pointdistance.R . predict.R . print.R . progressBar.R . project.R . projectRaster.R . projection.R . properties.R . quad.R . quantile.R . randomize.R . range.R . raster.R . rasterFromASCII.R . rasterFromBIL.R . rasterFromCells.R . rasterFromFile.R . rasterFromGDAL.R . rasterFromIDRISI.R . rasterFromRasterFile.R . rasterFromSAGA.R . rasterFromSurferFile.R . rasterFromXYZ.R . rasterOptions.R . rasterToPoints.R . rasterToPolygons.R . rasterize.R . rasterizeLines.R . rasterizePoints.R . rasterizePointsNGB.R . rasterizePolygons.R . ratify.R . read.R . readAscii.R . readCells.R . readCellsGDAL.R . readRasterBrick.R . readRasterLayer.R . reclassify.R . rectify.R . replaceProperties.R . resample.R . rotate.R . roundExtent.R . rowMinMax.R . rowSums.R . sampleAlong.R . sampleInt.R . sampleRandom.R . sampleRegular.R . sampleStratified.R . scale.R . scalebar.R . select.R . setCV.R . setExtent.R . setFileExt.R . setMinMax.R . setValues.R . setZ.R . sf.R . shift.R . show.R . shp.R . simplifyPols.R . slopeAspect.R . sparse.R . speasy.R . spplot.R . srs.R . stack.R . stackApply.R . stackFile.R . stackQuick.R . stackSelect.R . stretch.R . subs.R . subset.R . summary-methods.R . summary.R . symdif.R . terrain.R . text.R . tmpFile.R . transpose.R . trim.R . union.R . union_sp.R . unique.R . unstack.R . update.R . validCell.R . values.R . weighted.mean.R . which.R . which.max.R . whiches.max.R . writeAllAscii.R . writeAllGDAL.R . writeAllRaster.R . writeRaster.R . writeStartStop.R . writeStartStopAscii.R . writeStartStopGDAL.R . writeStartStopRaster.R . writeValues.R . xyCell.R . xyMinMax.R . xyResolution.R . xyValuesBuffer.R . zApply.R . zonal.R . zoom.R . zzz.R .  Full raster package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

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  
binovisualfields  
Depth-Dependent Binocular Visual Fields Simulation
Simulation and visualization depth-dependent integrated visual fields. Visual fields are measured mo ...
Download / Learn more Package Citations See dependency  
separationplot  
Separation Plots
Visual representations of model fit or predictive success in the form of "separation plots." See Gr ...
Download / Learn more Package Citations See dependency  
baffle  
Make Waffle Plots with Base Graphics
Waffle plots are rectangular pie charts that represent a quantity or abundances using colored squar ...
Download / Learn more Package Citations See dependency  
TRMF  
Temporally Regularized Matrix Factorization
Functions to estimate temporally regularized matrix factorizations (TRMF) for forecasting and imputi ...
Download / Learn more Package Citations See dependency  
githubinstall  
A Helpful Way to Install R Packages Hosted on GitHub
Provides an helpful way to install packages hosted on GitHub. ...
Download / Learn more Package Citations See dependency  

28,989

R Packages

247,686

Dependencies

76,495

Author Associations

28,990

Publication Badges

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