This is #rstats R FAQ 7.31, but in a trenchcoat.
You cannot (generally, reliably) test equality on floats -- which POSIXct is under the hood -- so in turn joins are tricky to impossible. You can truncate down, or do approximate joins, or ...
1
1
5
As `nanotime` uses int64_t representation via `bit64::integer64` you can join on that (if you don't convert)!
The `data.table` package does a few things right here (IDate, IDateTime) and has long had both `nanotime` support and joins for time-series.
Oct 13, 2022 路 3:38 PM UTC
4


