ExportData: GUI: Export Data

Description Usage Arguments Value Author(s) See Also Examples

Description

A graphical user interface (GUI) for exporting data to text files, shapefiles, or R data files.

Usage

1
ExportData(file.type = "txt", parent = NULL)

Arguments

file.type

character. Output file type: either txt for text files, rda for R-data files, or shp for shapefiles.

parent

tkwin. GUI parent window

Value

Saves the GUI options in the export component of Data. List components of export include:

processed

indicates whether exported data are limited to processed records.

fmts

indicates whether a header line of conversion specification format strings is written (text only).

cols

indicates whether a header line of column names is written (text only).

rows

indicates whether the row names are written (text only).

comment

indicates whether to write comments using the comment character, com (text only).

sep

field separator character (text only).

dec

string used for decimal points (text only).

nas

string interpreted as NA value (text only).

com

comment character (text only).

qmethod

a string specifying how to deal with embedded double quote characters when quoting strings (text only).

quote

if true, any character or factor columns will be surrounded by double quotes (text only).

encoding

declares the encoding to be used on the file (text only).

eol

the character to print at the end of each line (text only).

zip

indicate whether the file should be compressed using gzip, bzip2, or xz (text only).

changelog

indicate if a separate text file should be written with the change log (text only).

ascii

if true, an ASCII representation of the data is written (R data only).

Author(s)

J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center

See Also

write.table, save, writeOGR

Examples

1
2
3
4
5
## Not run: 
  Data(replace.all = obj)
  ExportData(file.type = "txt")

## End(Not run)

RSurvey documentation built on May 2, 2019, 3:28 p.m.