Package: rlist 0.4.6.2

rlist: A Toolbox for Non-Tabular Data Manipulation

Provides a set of functions for data manipulation with list objects, including mapping, filtering, grouping, sorting, updating, searching, and other useful functions. Most functions are designed to be pipeline friendly so that data processing with lists can be chained.

Authors:Kun Ren <[email protected]>

rlist_0.4.6.2.tar.gz
rlist_0.4.6.2.zip(r-4.5)rlist_0.4.6.2.zip(r-4.4)rlist_0.4.6.2.zip(r-4.3)
rlist_0.4.6.2.tgz(r-4.4-any)rlist_0.4.6.2.tgz(r-4.3-any)
rlist_0.4.6.2.tar.gz(r-4.5-noble)rlist_0.4.6.2.tar.gz(r-4.4-noble)
rlist_0.4.6.2.tgz(r-4.4-emscripten)rlist_0.4.6.2.tgz(r-4.3-emscripten)
rlist.pdf |rlist.html
rlist/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/renkun-ken/rlist/issues

Datasets:

On CRAN:

13.75 score 203 stars 124 packages 2.1k scripts 281k downloads 5 mentions 61 exports 4 dependencies

Last updated 2 years agofrom:bfaa2c50f7. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 18 2024
R-4.5-winOKNov 18 2024
R-4.5-linuxOKNov 18 2024
R-4.4-winOKNov 18 2024
R-4.4-macOKNov 18 2024
R-4.3-winOKNov 18 2024
R-4.3-macOKNov 18 2024

Exports:Listlist.alllist.anylist.appendlist.applylist.caseslist.cbindlist.classlist.cleanlist.commonlist.countlist.dolist.excludelist.expandlist.extractlist.filterlist.findlist.findilist.firstlist.flattenlist.grouplist.iflist.insertlist.islist.iterlist.joinlist.lastlist.loadlist.maplist.mapslist.mapvlist.matchlist.mergelist.nameslist.orderlist.parselist.prependlist.rbindlist.removelist.reverselist.samplelist.savelist.searchlist.selectlist.serializelist.skiplist.skipWhilelist.sortlist.stacklist.subsetlist.tablelist.takelist.takeWhilelist.ungrouplist.unserializelist.unziplist.updatelist.whichlist.ziptryEvaltryGet

Dependencies:data.tablejsonliteXMLyaml

Readme and manuals

Help Manual

Help pageTopics
The rlist packagerlist-package
Convert an object to evaluating environment for list elements Users should not directly use this function.evalwith
create an environment for argsargs_env
create a list for argsargs_list
Evaluate a function with a modified default valuescallwith
Test if a vector contains certain valuescontains
Substitute ...dots
Get the names of an objectgetnames
Check if an object is empty (has length 0)is.empty
Create a 'List environment' that wraps given 'data' and most list functions are defined for chainable operations.List
Examine if a condition is true for all elements of a listlist.all
Examine if a condition is true for at least one list elementlist.any
Append elements to a listlist.append
Apply a function to each list element ('lapply')list.apply
Get all unique cases of a list field by expressionlist.cases
Bind all list elements by columnlist.cbind
Classify list elments into unique but non-exclusive caseslist.class
Clean a list by a functionlist.clean
Get all common cases by expression for a listlist.common
Count the number of elements that satisfy given conditionlist.count
Call a function with a list of argumentslist.do
Exclude members of a list that meet given condition.list.exclude
Create a list from all combinations of factorslist.expand
Extract an element from a list or vectorlist.extract
Filter a list or vector by a series of conditionslist.filter
Find a specific number of elements in a list or vector satisfying a given conditionlist.find
Find the indices of a number of elements in a list or vector satisfying a given conditionlist.findi
Find the first element that meets a conditionlist.first
Flatten a nested list to a one-level listlist.flatten
Divide list/vector elements into exclusive groupslist.group
Insert a series of lists at the given indexlist.insert
Return a logical vector that indicates if each member of a list satisfies a given conditionlist.if list.is
Iterate a list by evaluating an expression on each list elementlist.iter
Join two lists by single or multiple keyslist.join
Find the last element that meets a conditionlist.last
Load a list from filelist.load
Map each element in a list or vector by an expression.list.map
Map multiple lists with an expressionlist.maps
Map each member of a list by an expression to a vector.list.mapv
Select members of a list that match given regex patternlist.match
Merge a number of named lists in sequential orderlist.merge
Get or set the names of a list by expressionlist.names
Give the order of each list element by expressionlist.order
Convert an object to list with identical structurelist.parse list.parse.character list.parse.data.frame list.parse.default list.parse.matrix
Prepend elements to a listlist.prepend
Bind all list elements by rowlist.rbind
Remove members from a list by index or namelist.remove
Reverse a listlist.reverse
Sample a list or vectorlist.sample
Save a list to a filelist.save
Search a list recusively by an expressionlist.search
Select by name or expression for each member of a listlist.select
Serialize a listlist.serialize
Skip a number of elementslist.skip
Keep skipping elements while a condition holdslist.skipWhile
Sort a list by given expressionslist.sort
Stack all list elements to tabular datalist.stack
Subset a listlist.subset
Generate a table for a list by expressionlist.table
Take a number of elementslist.take
Keep taking elements while a condition holdslist.takeWhile
Ungroup a list by taking out second-level elementslist.ungroup
Unserialize a filelist.unserialize
Transform a list of elements with similar structure into a list of decoupled fieldslist.unzip
Update a list by appending or modifying its elements.list.update
Give the indices of list elements satisfying a given conditionlist.which
Combine multiple lists element-wisely.list.zip
New York hourly weather datanyweather
Make names for unnamed symbol argumentsset_argnames
Subset a list by a logical conditionsubset.list
Try to evaluate an expression and return a default value if an error occurs or otherwise return its value.tryEval
Try to get the value of a symbol if exists or return a default valuetryGet