Package: nanotime 0.3.10.1

nanotime: Nanosecond-Resolution Time Support for R

Full 64-bit resolution date and time functionality with nanosecond granularity is provided, with easy transition to and from the standard 'POSIXct' type. Three additional classes offer interval, period and duration functionality for nanosecond-resolution timestamps.

Authors:Dirk Eddelbuettel [aut, cre], Leonardo Silvestri [aut]

nanotime_0.3.10.1.tar.gz
nanotime_0.3.10.1.zip(r-4.5)nanotime_0.3.10.1.zip(r-4.4)nanotime_0.3.10.1.zip(r-4.3)
nanotime_0.3.10.1.tgz(r-4.4-x86_64)nanotime_0.3.10.1.tgz(r-4.4-arm64)nanotime_0.3.10.1.tgz(r-4.3-x86_64)nanotime_0.3.10.1.tgz(r-4.3-arm64)
nanotime_0.3.10.1.tar.gz(r-4.5-noble)nanotime_0.3.10.1.tar.gz(r-4.4-noble)
nanotime_0.3.10.1.tgz(r-4.4-emscripten)nanotime_0.3.10.1.tgz(r-4.3-emscripten)
nanotime.pdf |nanotime.html
nanotime/json (API)
NEWS

# Install 'nanotime' in R:
install.packages('nanotime', repos = c('https://eddelbuettel.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/eddelbuettel/nanotime/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

datetimedatetimesnanosecond-resolutionnanoseconds

10.80 score 53 stars 16 packages 127 scripts 7.0k downloads 49 exports 7 dependencies

Last updated 7 days agofrom:78a54efebd. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-win-x86_64OKOct 31 2024
R-4.5-linux-x86_64OKOct 31 2024
R-4.4-win-x86_64OKOct 31 2024
R-4.4-mac-x86_64OKOct 31 2024
R-4.4-mac-aarch64OKOct 31 2024
R-4.3-win-x86_64OKOct 31 2024
R-4.3-mac-x86_64OKOct 31 2024
R-4.3-mac-aarch64OKOct 31 2024

Exports:%in%all.equalArithas.nanodurationas.nanoivalas.nanoperiodas.nanotimeCompareComplexintersectintersect.idxis.na<-is.unsortedLogicMathMath2minusNA_nanoduration_NA_nanoival_NA_nanoperiod_NA_nanotime_nano_ceilingnano_floornano_mdaynano_monthnano_wdaynano_yearnanodurationnanoivalnanoival.endnanoival.eopennanoival.sopennanoival.startnanoperiodnanoperiod.daynanoperiod.monthnanoperiod.nanodurationnanotimenanotime.matrixplusprintseqsetdiffsetdiff.idxshowsortSummarytunion

Dependencies:bitbit64latticeRcppRcppCCTZRcppDatezoo

Introduction to nanotime

Rendered fromnanotime-introduction.Rnwusingutils::Sweaveon Oct 31 2024.

Last update: 2020-07-21
Started: 2020-07-21

Readme and manuals

Help Manual

Help pageTopics
Test if Two Objects are (Nearly) Equalall.equal,nanoduration-method all.equal.nanoduration
Test if Two Objects are (Nearly) Equalall.equal,nanoival-method all.equal.nanoival
Test if Two Objects are (Nearly) Equalall.equal,nanoperiod-method all.equal.nanoperiod
Test if Two Objects are (Nearly) Equalall.equal,nanotime-method all.equal.nanotime
Set operations%in%,nanotime,nanoival-method %in%.nanotime intersect,nanoival,nanoival-method intersect,nanotime,nanoival-method intersect,nanotime,nanotime-method intersect.idx intersect.idx,nanotime,nanoival-method setdiff,nanoival,nanoival-method setdiff,nanotime,nanoival-method setdiff,nanotime,nanotime-method setdiff.idx setdiff.idx,nanotime,nanoival-method union,nanoival,nanoival-method union,nanotime,nanotime-method
Test if a 'nanoival' vector is Not Sortedis.unsorted,nanoival-method
Rounding down or up a 'nanotime' typenano_ceiling nano_ceiling,nanotime,nanoduration-method nano_ceiling,nanotime,nanoperiod-method nano_floor nano_floor,nanotime,nanoduration-method nano_floor,nanotime,nanoperiod-method
Get a component of a date timenano_mday nano_mday,nanotime-method nano_month nano_month,nanotime-method nano_wday nano_wday,nanotime-method nano_year nano_year,nanotime-method
Duration type with nanosecond precision*,ANY,nanoduration-method *,integer64,nanoduration-method *,nanoduration,ANY-method *,nanoduration,integer64-method *,nanoduration,nanoduration-method *,nanoduration,numeric-method *,numeric,nanoduration-method +,ANY,nanoduration-method +,difftime,nanoduration-method +,difftime,nanoival-method +,difftime,nanotime-method +,integer64,nanoduration-method +,nanoduration,ANY-method +,nanoduration,difftime-method +,nanoduration,integer64-method +,nanoduration,nanoduration-method +,nanoduration,nanoival-method +,nanoduration,nanotime-method +,nanoduration,numeric-method +,nanoival,difftime-method +,nanoival,nanoduration-method +,nanotime,difftime-method +,nanotime,nanoduration-method +,numeric,nanoduration-method -,ANY,nanoduration-method -,difftime,nanoduration-method -,integer,nanoduration-method -,integer64,nanoduration-method -,nanoduration,ANY-method -,nanoduration,difftime-method -,nanoduration,integer-method -,nanoduration,integer64-method -,nanoduration,nanoduration-method -,nanoduration,numeric-method -,nanoival,difftime-method -,nanoival,nanoduration-method -,nanotime,difftime-method -,nanotime,nanoduration-method -,numeric,nanoduration-method /,ANY,nanoduration-method /,nanoduration,ANY-method /,nanoduration,integer64-method /,nanoduration,nanoduration-method /,nanoduration,numeric-method abs,nanoduration-method Arith,nanoduration,ANY-method as.character,nanoduration-method as.integer64.nanoduration as.nanoduration as.nanoduration,character-method as.nanoduration,difftime-method as.nanoduration,integer-method as.nanoduration,integer64-method as.nanoduration,missing-method as.nanoduration,NULL-method as.nanoduration,numeric-method c.nanoduration Compare,character,nanoduration-method Compare,nanoduration,ANY-method Compare,nanoduration,character-method Complex,nanoduration-method format.nanoduration is.na,nanoduration-method Logic,ANY,nanoduration-method Logic,nanoduration,ANY-method Logic,nanoduration,nanoduration-method Math,nanoduration-method Math2,nanoduration-method max,nanoduration-method min,nanoduration-method nanoduration nanoduration-class NA_nanoduration_ print,nanoduration-method range,nanoduration-method show,nanoduration-method sign,nanoduration-method sum,nanoduration-method Summary,nanoduration-method [,nanoduration,ANY-method [,nanoduration,character-method [,nanoduration,logical-method [,nanoduration,numeric-method [<-,nanoduration,ANY,ANY,ANY-method [[,nanoduration-method
Interval type with nanosecond precision!=,nanoival,nanoival-method +,ANY,nanoival-method +,integer64,nanoival-method +,nanoival,ANY-method +,nanoival,integer64-method +,nanoival,nanoival-method +,nanoival,numeric-method +,numeric,nanoival-method -,ANY,nanoival-method -,nanoival,ANY-method -,nanoival,integer64-method -,nanoival,nanoival-method -,nanoival,numeric-method <,nanoival,nanoival-method <=,nanoival,nanoival-method ==,nanoival,nanoival-method >,nanoival,nanoival-method >=,nanoival,nanoival-method Arith,nanoival,ANY-method as.character.nanoival as.nanoival as.nanoival,character-method as.nanoival,missing-method as.nanoival,NULL-method c.nanoival Compare,nanoival,ANY-method Complex,nanoival-method format.nanoival is.na,nanoival-method is.na<-,nanoival-method Logic,ANY,nanoival-method Logic,nanoival,ANY-method Logic,nanoival,nanoival-method Math,nanoival-method Math2,nanoival-method nanoival nanoival-class nanoival.end nanoival.end,nanoival-method nanoival.eopen nanoival.eopen,nanoival-method nanoival.sopen nanoival.sopen,nanoival-method nanoival.start nanoival.start,nanoival-method NA_nanoival_ print,nanoival-method show,nanoival-method Summary,nanoival-method t,nanoival-method [,nanoival,ANY-method [,nanoival,character-method [,nanoival,logical-method [,nanoival,numeric-method [,nanotime,nanoival-method [<-,nanoival,logical,ANY,nanoival-method [[,nanoival-method
Period type with nanosecond precision!=,nanoperiod,nanoperiod-method *,ANY,nanoperiod-method *,integer64,nanoperiod-method *,nanoperiod,ANY-method *,nanoperiod,integer64-method *,nanoperiod,numeric-method *,numeric,nanoperiod-method +,ANY,nanoperiod-method +,integer64,nanoperiod-method +,nanoduration,nanoperiod-method +,nanoival,nanoperiod-method +,nanoperiod,ANY-method +,nanoperiod,integer64-method +,nanoperiod,nanoduration-method +,nanoperiod,nanoival-method +,nanoperiod,nanoperiod-method +,nanoperiod,nanotime-method +,nanoperiod,numeric-method +,nanotime,nanoperiod-method +,numeric,nanoperiod-method -,ANY,nanoperiod-method -,integer64,nanoperiod-method -,nanoduration,nanoperiod-method -,nanoperiod,ANY-method -,nanoperiod,integer64-method -,nanoperiod,nanoduration-method -,nanoperiod,nanoperiod-method -,nanoperiod,nanotime-method -,nanoperiod,numeric-method -,nanotime,nanoperiod-method -,numeric,nanoperiod-method /,ANY,nanoperiod-method /,nanoperiod,ANY-method /,nanoperiod,integer64-method /,nanoperiod,numeric-method ==,nanoperiod,nanoperiod-method as.character,nanoperiod-method as.nanoperiod as.nanoperiod,character-method as.nanoperiod,integer-method as.nanoperiod,integer64-method as.nanoperiod,missing-method as.nanoperiod,nanoduration-method as.nanoperiod,NULL-method as.nanoperiod,numeric-method c.nanoperiod Compare,ANY,nanoperiod-method Compare,nanoperiod,ANY-method Complex,nanoperiod-method format.nanoperiod is.na,nanoperiod-method is.na<-,nanoperiod-method Math,nanoperiod-method Math2,nanoperiod-method minus minus,nanoival,nanoperiod,character-method minus,nanoperiod,nanoival,character-method minus,nanoperiod,nanotime,character-method minus,nanotime,nanoperiod,character-method names,nanoperiod-method names<-,nanoperiod-method nanoperiod nanoperiod-class NA_nanoperiod_ plus plus,nanoival,nanoperiod,character-method plus,nanoperiod,nanoival,character-method plus,nanoperiod,nanotime,character-method plus,nanotime,nanoperiod,character-method print,nanoperiod-method show,nanoperiod-method Summary,nanoperiod-method [,nanoperiod,ANY-method [,nanoperiod,character-method [,nanoperiod,logical-method [,nanoperiod,numeric-method [<-,nanoperiod,ANY,ANY,ANY-method [[,nanoperiod-method
Nanoperiod accessorsnanoperiod.day nanoperiod.day,nanoperiod-method nanoperiod.month nanoperiod.month,nanoperiod-method nanoperiod.nanoduration nanoperiod.nanoduration,nanoperiod-method
Nanosecond resolution datetime functionalitynanotime-package +,ANY,nanotime-method +,integer64,nanotime-method +,nanotime,ANY-method +,nanotime,integer64-method +,nanotime,nanotime-method +,nanotime,numeric-method +,numeric,nanotime-method -,ANY,nanotime-method -,nanotime,ANY-method -,nanotime,character-method -,nanotime,integer64-method -,nanotime,nanotime-method -,nanotime,numeric-method Arith,ANY,nanotime-method Arith,nanotime,ANY-method Arith,nanotime,nanotime-method as.character.nanotime as.data.frame.nanoduration as.data.frame.nanotime as.Date.nanotime as.integer64.nanotime as.nanotime as.nanotime,character-method as.nanotime,Date-method as.nanotime,POSIXct-method as.nanotime,POSIXlt-method as.POSIXct.nanotime as.POSIXlt.nanotime c.nanotime Compare,character,nanotime-method Compare,nanotime,ANY-method Compare,nanotime,character-method Compare,nanotime,POSIXt-method Compare,POSIXt,nanotime-method Complex,nanotime-method format.nanotime index2char.nanotime is.na,nanotime-method Logic,ANY,nanotime-method Logic,nanotime,ANY-method Math,nanotime-method Math2,nanotime-method max,nanotime-method min,nanotime-method names<-,nanotime-method nanotime nanotime,character-method nanotime,Date-method nanotime,POSIXct-method nanotime,POSIXlt-method nanotime-class nanotime.matrix NA_nanotime_ print,nanotime-method range,nanotime-method show,nanotime-method Summary,nanotime-method unique,nanotime-method [,nanotime,ANY-method [,nanotime,character-method [,nanotime,logical-method [,nanotime,numeric-method [<-,nanotime,ANY,ANY,ANY-method [[,nanotime-method
Replicate Elementsrep,nanoduration-method
Replicate Elementsrep,nanoival-method
Replicate Elementsrep,nanoperiod-method
Replicate Elementsrep,nanotime-method
Sequence Generationseq,nanoival-method
Sequence Generationseq.nanoduration
Sequence Generationseq,nanotime-method seq.nanotime
Sorting or Ordering Vectorssort,nanoival-method