powered by
This function allows to read an IDX file
read_idx(file_name, endian = "big")
character vector containing the name of the file to be read
whether the file has "big" or "little" endian
# NOT RUN { m = matrix(1:16, nrow = 4) file_name = file.path(tempdir(),"m.idx") write_idx(m, file_name) mr = read_idx(file_name) # }
Run the code above in your browser using DataLab