Learn R Programming

Rquake (version 2.4-4)

convertseis2R: Convert seismic data

Description

Convert seismic data (SAC or SEGY) to native R

Usage

convertseis2R(fn, destdir = ".", kind = 1, Iendian = 1, BIGLONG = FALSE)

Arguments

fn

character vector of file names

destdir

chracter, destination directory

kind

kind of data (1=SEGY, 2=SAC)

Iendian

integer, endianess

BIGLONG

Logical, TRUE=long is 8 bytes

Value

Side effects on system

Details

Program converts a list of files to native R format for fast loading.

See Also

Mine.seis

Examples

Run this code
# NOT RUN {
lf = list.files(path="/Users/lees/Mydata", pattern="R0*", full.names=TRUE)
convertseis2R(lf, "/Users/lees/MyRdata",  kind = 1, Iendian = 1, BIGLONG = FALSE)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab