Learn R Programming

RSurvey

Deprecated

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

Overview

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.

Install

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

capabilities("tcltk")

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

install.packages("RSurvey")

Or use devtools to install the development version from GitHub.

devtools::install_github("USGS-R/RSurvey")

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.

Run

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

library("RSurvey")

Disclaimer

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.

Copy Link

Version

Install

install.packages('RSurvey')

Monthly Downloads

342

Version

0.9.3

License

CC0

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

April 11th, 2018

Functions in RSurvey (0.9.3)

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