datastructures icon indicating copy to clipboard operation
datastructures copied to clipboard

:rocket: Implementation of core data structures for R

Results 9 datastructures issues
Sort by recently updated
recently updated
newest added

Hi! I just came along this very nice package and was trying to play around a bit with hash tables. My particular use cases require many queries to keys which...

Once the data structure is "finished with", ie all the pushing and popping is finished, how can we access the data as a native R vector or list? For example:...

The ability to insert a list and have the elements added individually is nice, however when pushing a list of length 1, the list is not unwrapped. This requires the...

When running this file: https://github.com/dirmeier/datastructures/blob/master/benchmark/benchmark_hashmap.R I get: ``` > microbenchmark( + hash = f1(10000), + env = f2(10000) + ) Show Traceback Rerun with Debug Error in initialize(value, ...) :...

I came across your packages (which is cool!), I've played with adding an as.list.stack function, but it appears to be very slow. Below is the code, please let me know...

It might help to have a method that converts a data structure into an R list, data frame or the like..

I am interested in using a priority queue for ropensci/drake#227, and I am really happy to have found this package. Is there a decrease-key method available? I could not find...

See https://lintr.r-lib.org/news/index.html since 3.0.0