Skip to content

fields

Tools for Spatial Data

v17.3 · May 5, 2026 · GPL (>= 2)

Description

For curve, surface and function fitting with an emphasis on splines, spatial data, geostatistics, and spatial statistics. The major methods include cubic, and thin plate splines, Kriging, and compactly supported covariance functions for large data sets. The splines and Kriging methods are supported by functions that can determine the smoothing parameter (nugget and sill variance) and other covariance function parameters by cross validation and also by restricted maximum likelihood. For Kriging there is an easy to use function that also estimates the correlation scale (range parameter). A major feature is that any covariance function implemented in R and following a simple format can be used for spatial prediction. There are also many useful functions for plotting and working with spatial data as images. This package also contains an implementation of sparse matrix methods for large spatial data sets and currently requires the sparse matrix (spam) package. Use help(fields) to get started and for an overview. All graphics functions focus on using base R graphics. The fields source code is deliberately commented and provides useful explanations of numerical details as a companion to the manual pages. The commented source code can be viewed by expanding the source code version and looking in the R subdirectory. The reference for fields can be generated by the citation function in R and has DOI <doi:10.5065/D6W957CT>. Development of this package was supported in part by the National Science Foundation Grant 1417857, the National Center for Atmospheric Research, and Colorado School of Mines. See the Fields URL for a vignette on using this package and some background on spatial statistics.

Downloads

121.1K

Last 30 days

331st

208.6K

Last 90 days

635.2K

Last year

Trend: +181.1% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 9, 2026
WARNING 11 OK · 0 NOTE · 3 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
WARNING r-oldrel-macos-arm64

Rd cross-references

Missing link or links in Rd file 'offGridWeights.Rd':
  ‘ predictSurface’

See section 'Cross-references' in the 'Writing R Extensions' manual.
WARNING r-oldrel-macos-x86_64

Rd cross-references

Missing link or links in Rd file 'offGridWeights.Rd':
  ‘ predictSurface’

See section 'Cross-references' in the 'Writing R Extensions' manual.
WARNING r-oldrel-windows-x86_64

Rd cross-references

Missing link or links in Rd file 'offGridWeights.Rd':
  ' predictSurface'

See section 'Cross-references' in the 'Writing R Extensions' manual.

Reverse Dependencies (232)

Dependency Network

Dependencies Reverse dependencies spam viridisLite RColorBrewer maps CCA CNLTtsa EMD ExpAnalysis3d GeoModels LatticeKrig RadioSonde SpatialVx SynchWave TIMP TrackReconstruction Voss aSPU fpa geoelectrics +217 more reverse deps fields

Version History

updated 17.3 ← 17.1 diff May 5, 2026
new 17.1 Mar 10, 2026
updated 17.1 ← 16.3.1 diff Sep 7, 2025
updated 16.3.1 ← 16.3 diff Mar 7, 2025
updated 16.3 ← 16.2 diff Sep 30, 2024
updated 16.2 ← 15.2 diff Jun 26, 2024
updated 15.2 ← 14.1 diff Aug 16, 2023
updated 14.1 ← 14.0 diff Aug 11, 2022
updated 14.0 ← 13.3 diff Jul 4, 2022
updated 13.3 ← 12.5 diff Oct 29, 2021
updated 12.5 ← 12.3 diff Jun 24, 2021
updated 12.3 ← 11.6 diff May 16, 2021
updated 11.6 ← 11.5 diff Oct 8, 2020
updated 11.5 ← 11.4 diff Oct 3, 2020
updated 11.4 ← 10.3 diff Sep 2, 2020
updated 10.3 ← 10.2 diff Feb 3, 2020
updated 10.2 ← 10.0 diff Feb 1, 2020
updated 10.0 ← 9.9 diff Nov 10, 2019
updated 9.9 ← 9.8-6 diff Oct 12, 2019
updated 9.8-6 ← 9.8-3 diff Aug 18, 2019