Skip to contents

readNSx 0.1.0

  • HDF5 is now read and written directly by readNSx, linking against hdf5lib for a static build of the HDF5 library. This removes the dependency on hdf5r and the HDF5 system requirement; no system HDF5 installation is needed on any platform
  • Removed the hdf5r code path and the plain-R .ralt fallback store; there is now a single storage implementation. The layout on disk is unchanged, so files exported by earlier versions read back unchanged and files written now stay readable by hdf5r, h5py, and command-line HDF5 tools
  • Channel datasets are no longer capped at 2^31 samples: dimensions and offsets are carried as doubles all the way into HDF5
  • Reading a contiguous range from a channel now reads only that range instead of the whole dataset
  • h5_valid(file, "w") no longer truncates the file it is asked about
  • Added complex support, stored as the H5T_COMPOUND {"r", "i"} of doubles that numpy and h5py use for complex128. Complex datasets written elsewhere are read back as complex whatever their member names, including the {"Real", "Imaginary"} layout hdf5r uses and HDF5 2.0 native complex
  • Strings are now written as UTF-8 rather than being labeled ASCII regardless of content, so non-ASCII text survives. For plain ASCII the stored bytes are unchanged. Strings are read using whatever character set the file declares, so files written by earlier versions are unaffected
  • NA_character_ is now stored as an HDF5 NULL and read back as NA. Previously it became the literal text "NA", which no reader could tell apart from a genuine "NA" string
  • NA in integer, double and logical vectors round-trips exactly, matching what hdf5r stores bit for bit

readNSx 0.0.7

CRAN release: 2026-05-23

  • import_nsp Supports streaming the data with lengths larger than the bound of 32-bit integers. This supports high-frequency long-time continuous recording, extending the 30,000 Hz recording duration from 10 minutes (100 channels) to Almost a half day recording. The individual channel size is still limited by the 32-bit integer, that is around 19 hours
  • Fixed an rchk issue reported by CRAN
  • Replaced c.integer64 with c

readNSx 0.0.6

CRAN release: 2025-10-24

  • HDF5 falls back to alternatives in WASM to avoid compilation issues when running in web browser

readNSx 0.0.5

CRAN release: 2024-09-03

  • Fixed calling R_MakeExternalPtr with Rf_mkChar, using Rf_install instead
  • Fixed a potential imbalanced protect

readNSx 0.0.4

CRAN release: 2024-02-24

  • Fixed a ASAN/UBSAN error in read_bci2000

readNSx 0.0.3

CRAN release: 2024-02-17

  • Added read_bci2000 to read BCI2000 data

readNSx 0.0.2

CRAN release: 2023-06-21

  • Added support: NEV/NSx 3.0 specification
  • Corrected NEV 3.0 file bug. In some cases, the acquisition software may incorrectly set “Time Resolution Time-stamp”, resulting in wrong event time-stamps

readNSx 0.0.1

CRAN release: 2023-02-01

  • Added a NEWS.md file to track changes to the package.