Learn R Programming

RSurvey (version 0.8-3)

ExportData: Export Data

Description

A GUI for exporting data to text files, shapefiles, or R data files.

Usage

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

Arguments

file.type
character; the output file type: either “txt” for Text Files, “rda” for R Data Files, or “shp” for ESRI Shapefiles.
parent
tkwin; the GUI parent window.

Value

Saves the GUI options in the export component of Data. List components of export include:
processed
logical; are exported records limited to processed data?
fmts
logical; indicates whether a header line of conversion specification format strings is written (text only).
cols
logical; indicates whether a header line of column names is written (text only).
rows
logical; indicates whether the row names are written (text only).
comment
logical; indicates whether to write comments using the comment character, com (text only).
sep
character; the field separator character (text only).
dec
character; string used for decimal points (text only).
nas
character; string interpreted as NA value (text only).
com
character; comment character (text only).
qmethod
character; a string specifying how to deal with embedded double quote characters when quoting strings (text only).
quote
logical; if TRUE, any character or factor columns will be surrounded by double quotes (text only).
encoding
character; declares the encoding to be used on the file (text only).
eol
character; the character to print at the end of each line (text only).
zip
character; indicate whether the file should be compressed using gzip, bzip2, or xz (text only).
changelog
logical; indicate if a separate text file should be written with the change log (text only).
ascii
logical; if TRUE, an ASCII representation of the data is written (R data only).

See Also

write.table, save, writeOGR