Skip to content

fields

Tools for Spatial Data

v17.1 · Sep 8, 2025 · GPL (>= 2)

Description

For curve, surface and function fitting with an emphasis on splines, spatial data, geostatistics, and spatial statistics. The major methods include Gaussian spatial process prediction (known as Kriging), cubic and thin plate splines, and compactly supported covariance functions for large data sets. The spline and spatial process 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 maximum likelihood. For spatial process prediction 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. As included are fast approximations for prediction and conditional simulation for larger data sets. 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 based the R sparse matrix package spam. Use help(fields) to get started and for an overview. All package graphics functions focus on extending base R graphics and are easy to interpret and modify. 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 of this package 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

43.5K

Last 30 days

558th

128.5K

Last 90 days

556.5K

Last year

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

CRAN Check Status

3 WARNING
11 OK
Show all 14 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-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 WARNING
r-oldrel-macos-x86_64 WARNING
r-oldrel-windows-x86_64 WARNING
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 details (3 non-OK)
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.

Check History

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 (235)

Dependency Network

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

Version History

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
updated 9.8-3 ← 9.8-1 diff May 27, 2019