Package: libr 1.4.1

libr: Libraries, Data Dictionaries, and a Data Step for R

Contains a set of functions to create data libraries, generate data dictionaries, and simulate a data step. The libname() function will load a directory of data into a library in one line of code. The dictionary() function will generate data dictionaries for individual data frames or an entire library. And the datestep() function will perform row-by-row data processing.

Authors:David Bosak [aut, cre], Brian Varney [ctb], Archytas Clinical Solutions [cph]

libr_1.4.1.tar.gz
libr_1.4.1.zip(r-4.7)libr_1.4.1.zip(r-4.6)libr_1.4.1.zip(r-4.5)
libr_1.4.1.tgz(r-4.6-x86_64)libr_1.4.1.tgz(r-4.6-arm64)libr_1.4.1.tgz(r-4.5-x86_64)libr_1.4.1.tgz(r-4.5-arm64)
libr_1.4.1.tar.gz(r-4.7-arm64)libr_1.4.1.tar.gz(r-4.7-x86_64)libr_1.4.1.tar.gz(r-4.6-arm64)libr_1.4.1.tar.gz(r-4.6-x86_64)
libr_1.4.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
libr/json (API)

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

Bug tracker:https://github.com/dbosak01/libr/issues

Pkgdown/docs site:https://libr.r-sassy.org

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

On CRAN:

Conda:

cpp

8.30 score 27 stars 2 packages 72 scripts 1.1k downloads 25 exports 37 dependencies

Last updated from:122fa63065. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK180
linux-devel-x86_64OK229
source / vignettesOK204
linux-release-arm64OK178
linux-release-x86_64OK162
macos-release-arm64OK150
macos-release-x86_64OK179
macos-oldrel-arm64OK110
macos-oldrel-x86_64OK237
windows-develOK129
windows-releaseOK131
windows-oldrelOK161
wasm-releaseOK176

Exports:datastepdeletedictionarydsarraydsattrimport_specis.liblib_addlib_copylib_deletelib_exportlib_infolib_loadlib_pathlib_removelib_replacelib_sizelib_synclib_unloadlib_writelibnameoutputread.specsspecswrite.specs

Dependencies:bitbit64cellrangerclicliprcommoncpp11crayondata.tabledplyrforcatsgenericsgluehavenhmslifecyclemagrittropenxlsxpillarpkgconfigprettyunitsprogressR6Rcppreadrreadxlrematchrlangstringitibbletidyselecttzdbutf8vctrsvroomwithrzip

Data Step Operations
Example 1: Simple Data Step | Keep, Drop, and Rename | Example 2: Keeping Data Step Variables | The Retain Parameter | Example 3: Drop, Retain, and Rename Parameters | Wildcards | Example 4: Keep Wildcard | By Group Processing | Example 5: By Groups | By Group Processing of Multiple Variables | Example 6: Multiple By Groups | Using Summary Functions | Example 7: Calculate Block | Data Steps with dplyr | Example 8: Data Pipeline | Data Attributes | Example 9: Attributes | Data Step Array | Example 10: Using a Data Step Array | Filtering and Duplicating Rows | Set and Merge Operations | Datastep Performance | Example 11: Increasing Performance

Last update: 2026-04-03
Started: 2020-12-21

Complete Example 1
Program | Log | Output

Last update: 2026-03-18
Started: 2021-11-21

Frequently Asked Questions
Index | Content | How do I create a libname in R? | Which data formats does the libname function support? | Is there a way to filter the datasets in my libname? | How do I view the variables in my datasets? | How do I export data to another file format? | How do I copy a library? | Can I really do a datastep in R? | Why is the datastep so slow? | Can I do "set" and "merge" operations with the datastep?

Last update: 2026-03-18
Started: 2021-11-21

Complete Example 2
Program | Log | Output

Last update: 2025-12-13
Started: 2021-11-21

libr
Key Functions | How to Use | The libname() Function | Accessing Data | The lib_load() Function | The dictionary() Function | The datastep() Function | Next Steps

Last update: 2025-12-13
Started: 2020-11-06

Basic Library Operations

Last update: 2022-08-29
Started: 2020-12-21

Disclaimer

Last update: 2021-11-22
Started: 2020-12-21

Library Management

Last update: 2021-10-02
Started: 2020-12-22