data(GH)
 Iendian = .Platform$endian
apath = tempdir()
##  setwd(apath)
##
 Iendian = .Platform$endian
##    apath = './TEMP'
### dir.create(apath)
J =  rseis2sac(GH, sel = 1:5, path = apath, BIGLONG =FALSE )
Lname  <-  list.files(path=J , pattern='SAC', full.names=TRUE)
J  <- JGET.seis(Lname,kind=2,BIGLONG=FALSE,HEADONLY=FALSE,Iendian=Iendian,PLOT=0)
if(interactive()) { plotJGET(J) }
Run the code above in your browser using DataLab