Package: kit 0.0.21

Sebastian Krantz

kit: Data Manipulation Functions Implemented in C

Basic functions, implemented in C, for large data manipulation. Fast vectorised ifelse()/nested if()/switch() functions, psum()/pprod() functions equivalent to pmin()/pmax() plus others which are missing from base R. Most of these functions are callable at C level.

Authors:Morgan Jacob [aut, cph], Sebastian Krantz [ctb, cre]

kit_0.0.21.tar.gz
kit_0.0.21.zip(r-4.7)kit_0.0.21.zip(r-4.6)kit_0.0.21.zip(r-4.5)
kit_0.0.21.tgz(r-4.6-x86_64)kit_0.0.21.tgz(r-4.6-arm64)kit_0.0.21.tgz(r-4.5-x86_64)kit_0.0.21.tgz(r-4.5-arm64)
kit_0.0.21.tar.gz(r-4.7-arm64)kit_0.0.21.tar.gz(r-4.7-x86_64)kit_0.0.21.tar.gz(r-4.6-arm64)kit_0.0.21.tar.gz(r-4.6-x86_64)
kit_0.0.21.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
kit/json (API)
NEWS

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

Bug tracker:https://github.com/fastverse/kit/issues

Pkgdown/docs site:https://fastverse.org

Uses libs:
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

openmp

10.64 score 61 stars 6 packages 130 scripts 6.1k downloads 42 mentions 34 exports 0 dependencies

Last updated from:c9ea915eb7. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK118
linux-devel-x86_64OK118
source / vignettesOK159
linux-release-arm64OK110
linux-release-x86_64OK113
macos-release-arm64OK83
macos-release-x86_64OK242
macos-oldrel-arm64OK88
macos-oldrel-x86_64OK222
windows-develOK110
windows-releaseOK101
windows-oldrelOK104
wasm-releaseOK90

Exports:charToFactclearDatacountcountNAcountOccurfduplicatedfpmaxfpminfposfuniquegetDataiifnifnswitchpallpallNApallvpanypanyNApanyvpcountpcountNApfirstplastpmeanpprodprangepsortpsumsetlevelsshareDatatopnuniqLenvswitch

Dependencies:

Introduction to kit

Rendered fromintroduction.Rmdusingknitr::rmarkdownon May 24 2026.

Last update: 2026-01-22
Started: 2025-12-03

Readme and manuals

Help Manual

Help pageTopics
Convert Character Vector to FactorcharToFact
count, countNA and countOccurcount countNA countOccur
Fast duplicated and uniquefduplicated funique uniqLen
Find a matrix position inside a larger matrixfpos
Fast if elseiif
Nested if elsenif
Parallel (Statistical) Functionsfpmax fpmin pall pallNA pallv pany panyNA panyv pcount pcountNA pfirst plast pmean pprod prange psum
Parallel Sortpsort
Set levels of a factor objectsetlevels
Share Data between R SessionsclearData getData shareData
Top N values indextopn
Vectorised switchnswitch vswitch