Learn R Programming

RSurvey (version 0.6-0)

WriteFile: Write Data File

Description

Exports post-processed data to a file.

Usage

WriteFile(ext = "txt")

Arguments

ext
character; the default file extension.

Value

  • The format and type of data written is based on the file type chosen within the file management pop-up dialog box. A selection of Text Files (*.txt, *.csv, *.dat) writes the contents of data.pts to a text file; selecting Interpolated Grid Test Files (*.grd) writes the contents of data.grd to a text file; and a selection of ESRI Shapefiles (*.shp) writes the contents of data.pts to a binary file.

See Also

GetFile, write.table, writeOGR

Examples

Run this code
data(project)
WriteFile("txt")

Run the code above in your browser using DataLab