powered by
Convert seismic data (SAC or SEGY) to native R
convertseis2R(fn, destdir = ".", kind = 1, Iendian = 1, BIGLONG = FALSE)
character vector of file names
chracter, destination directory
kind of data (1=SEGY, 2=SAC)
integer, endianess
Logical, TRUE=long is 8 bytes
Side effects on system
Program converts a list of files to native R format for fast loading.
Mine.seis
# 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