Skip to content

fst v0.8.4

Compare
Choose a tag to compare
@MarcusKlik MarcusKlik released this 25 Jan 22:15
· 262 commits to master since this release

Changes

The v0.8.4 release brings a data.frame interface to the fst package. Column and row selection can now be done directly from the [ operator. In addition, it fixes some issues and prepares the package for the next build toolchain of CRAN.

New features

  • A data.frame interface was added to the package. The user can create a reference object to a fst file with method fst. That reference can be used like a data.frame and will automatically make column- and row- selections in the referenced fst file.

Bugs solved

  • Build issues with the dev build of R have been fixed. In particular, fst now builds correctly with the Clang 6.0 toolchain which will be released by CRAN shortly (thanks @kevinushey for reporting the problem and CRAN maintainers for the advance warning.

  • An error was fixed where compressing a short factor column with 128 to 32767 levels but only a single value, returned incorrect results (issue #128, thanks @martinblostein for reporting and help fixing the problem).

  • An error was fixed where columns f type 'ITime' were incorrectly serialized (issue #126, thanks @Giqles for reporting the problem).

  • An error was fixed where using fst as a dependency in another package and building that package in RStudio, crashed RStudio. The problem was that RStudio uses a fork to build or document a package. That fork made fst use OpenMP library methods, which leads to crashes on macOS. After the fix, no calls to any OpenMP library method are now made from fst when it's run from a forked process (issue #100 and issue #109, thanks to @eipi10, @PeteHaitch, @kevinushey, @thierrygosselin, @xiaodaigh and @jzzcutler for reporting the problem and help fix it).

Documentation

  • Documentation for method write_fst was improved (issue #123, thanks @krlmlr for reporting and submitting a pull request).