RSurvey v0.9.3


Monthly downloads



Geographic Information System Application

A geographic information system (GIS) graphical user interface (GUI) that provides data viewing, management, and analysis tools.



Travis Build Status CRAN Version USGS Category


Development of this package has halted. If you are interested in taking over maintainer status for the package, please email the author.


The R package RSurvey is a geographic information system (GIS) graphical user interface (GUI) that provides data viewing, management, and analysis tools. The cross-platform application was designed to be simple enough for non-technical users.


If R is not already installed on your computer, download and install the latest binary distribution from the Comprehensive R Archive Network (CRAN). Windows users should set R to operate as a single document interface (SDI) application during installation by choosing to customize the start-up options and specifying the SDI interface (not the default).

If your operating system is macOS, download and install XQuartz, and reboot your computer.

RSurvey uses the Tk toolkit for GUI rendering, access to Tk is provided by the tcltk package. To check if Tk is available, startup an R session and type the following at the command prompt


Support for viewing and editing table data is provided by Tktable, a spreadsheet-like Tk widget (typically included with the binary distribution of R). To check if Tktable is available, use the command

inherits(tcltk::tclRequire("Tktable", FALSE), "tclObj")

To install the stable version of RSurvey from CRAN use the command


Or use devtools to install the development version from GitHub.


In addition to its required packages, RSurvey can make use of the functionality in its suggested packages. If any of the suggested packages are missing, you will be prompted to install them when it first starts up.

If you're running into difficulties with package installation, see the R Commander installation notes for possible solutions. R Commander is another GUI implemented as an R package.


Load RSurvey in the current R session and launch its main GUI using the command



This information is preliminary or provisional and is subject to revision. It is being provided to meet the need for timely best science. The information has not received final approval by the U.S. Geological Survey (USGS) and is provided on the condition that neither the USGS nor the U.S. Government shall be held liable for any damages resulting from the authorized or unauthorized use of the information.

Although this software program has been used by the U.S. Geological Survey (USGS), no warranty, expressed or implied, is made by the USGS or the U.S. Government as to the accuracy and functioning of the program and related program material nor shall the fact of distribution constitute any such warranty, and no responsibility is assumed by the USGS in connection therewith.

Functions in RSurvey

Name Description
Data Set or Query Data and Parameters
Format GUI: Build C-Style String Formats
SetConfiguration GUI: Window and Plotting Parameters
ImportText GUI: Import Data from Text File
ProgressBar GUI: Progress Bar
ManagePolygons GUI: Polygon Manager
ManageVariables GUI: Variable Manager
BuildHistogram GUI: Histogram Input Parameters
CheckEntry Control Content in Entry Widget
GetFile GUI: Select File to Open or Save As
SetPlotAnnotation GUI: Plot Annotation
SetCrs GUI: Coordinate Reference System
ImportDataset GUI: Import Data from Package Dataset
SetPolygonLimits GUI: Polygon Limits
Rename GUI: Rename Values in Character Vector
RestoreSession Restore R Session from Source Files
ChooseColor GUI: Color Picker
ChoosePch GUI: Plotting Symbol Picker
FormatDateTime GUI: Build Date-Time String Formats
GetBitmapImage Create Icon Bitmap Image
Search GUI: Search Data Table
SetAxesLimits GUI: Axes Limits
SetSortOrder GUI: Sort Order
EditText GUI: Edit Text
DefineGrid GUI: Define Interpolation Grid
EditData GUI: Data Editor
EditFunction GUI: Function Editor
EvalFunction Parse and Evaluate an RSurvey Expression
ExportData GUI: Export Data
ManagePackages GUI: Package Manager
ImportSpreadsheet GUI: Import Data from XML Spreadsheet File
LaunchGui GUI: Main Graphical User Interface
Plot3d Plot Points and Surface in 3D
No Results!

Last month downloads


SystemRequirements Tcl/Tk (>= 8.5), Tktable (>= 2.9, optional)
License CC0
Copyright This software is in the public domain because it contains materials that originally came from the United States Geological Survey (USGS), an agency of the United States Department of Interior. For more information, see the official USGS copyright policy at
Encoding UTF-8
ByteCompile true
RoxygenNote 6.0.1
NeedsCompilation no
Packaged 2018-04-10 20:33:23 UTC; jfisher
Repository CRAN
Date/Publication 2018-04-11 16:02:23 UTC

Include our badge in your README