##### make some SAC files, then read them in
data(GH)
apath = tempdir()
## setwd(apath)
## apath = 'TEMP'
J = rseis2sac(GH, sel =1:5, path = apath, BIGLONG =FALSE )
####### next read them in
Lname <- list.files(path=J , pattern='SAC', full.names=TRUE)
S1 <- JSAC.seis(Lname, Iendian = .Platform$endian, BIGLONG =FALSE , PLOT = -1)
#### check just the first one
i = 1
plotGH(S1[[i]])
Run the code above in your browser using DataLab