A package to read and write GEMPACK-style header-array files into R.
This package does not use any GEMPACK routines; instead, it works with the binary HAR files directly using basic R functions
install.packages('devtools')
::install_git('https://github.com/mivanic/HARr.git')
devtoolsrequire(HARr)
= read_har('basedata.har') data
= list(
data REAL = array(
c(1, 2, 3, 4, 5, 6),
dim = c(2, 3),
dimnames = list(
dim1name = c('a', 'b'),
dim2name = c('f', 'g', 'h')
)
),INTG = array(c(1L, 2L, 3L, 4L, 5L, 6L),
dim = c(2, 3)),
STRG =
c("STRING1", "STRING2", "STRING3")
)write_har(data, 'test.har')
= read_SL4('solutoin.sl4') data