Package: currr 0.1.2

Marcell Granat

currr: Apply Mapping Functions in Frequent Saving

Implementations of the family of map() functions with frequent saving of the intermediate results. The contained functions let you start the evaluation of the iterations where you stopped (reading the already evaluated ones from cache), and work with the currently evaluated iterations while remaining ones are running in a background job. Parallel computing is also easier with the workers parameter.

Authors:Marcell Granat [aut, cre]

currr_0.1.2.tar.gz
currr_0.1.2.zip(r-4.5)currr_0.1.2.zip(r-4.4)currr_0.1.2.zip(r-4.3)
currr_0.1.2.tgz(r-4.4-any)currr_0.1.2.tgz(r-4.3-any)
currr_0.1.2.tar.gz(r-4.5-noble)currr_0.1.2.tar.gz(r-4.4-noble)
currr_0.1.2.tgz(r-4.4-emscripten)currr_0.1.2.tgz(r-4.3-emscripten)
currr.pdf |currr.html
currr/json (API)

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

Peer review:

Bug tracker:https://github.com/marcellgranat/currr/issues

On CRAN:

checkpointsparallel-computingpurrr

9 exports 19 stars 2.07 score 45 dependencies 7 scripts 367 downloads

Last updated 28 days agofrom:e3b71de173. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 21 2024
R-4.5-winOKAug 21 2024
R-4.5-linuxOKAug 21 2024
R-4.4-winOKAug 21 2024
R-4.4-macOKAug 21 2024
R-4.3-winOKAug 21 2024
R-4.3-macOKAug 21 2024

Exports:cp_mapcp_map_chrcp_map_dblcp_map_dfccp_map_dfrcp_map_lglremove_currr_cachesaving_mapsaving_map_nodot

Dependencies:backportsbitbit64broomclicliprcolorspacecpp11crayondigestdplyrfansifarvergenericsgluehmsjoblabelinglifecyclemagrittrmunsellpacmanpillarpkgconfigprettyunitsprogresspurrrR6RColorBrewerreadrremotesrlangrstudioapiscalesstringistringrtibbletidyrtidyselecttzdbutf8vctrsviridisLitevroomwithr

Readme and manuals

Help Manual

Help pageTopics
Wrapper function of 'purrr::map'. Apply a function to each element of a vector, but save the intermediate data after a given number of iterations.cp_map
Wrapper function of 'purrr::map'. Apply a function to each element of a vector, but save the intermediate data after a given number of iterations.cp_map_chr
Wrapper function of 'purrr::map'. Apply a function to each element of a vector, but save the intermediate data after a given number of iterations.cp_map_dbl
Wrapper function of 'purrr::map'. Apply a function to each element of a vector, but save the intermediate data after a given number of iterations.cp_map_dfc
Wrapper function of 'purrr::map'. Apply a function to each element of a vector, but save the intermediate data after a given number of iterations.cp_map_dfr
Wrapper function of 'purrr::map'. Apply a function to each element of a vector, but save the intermediate data after a given number of iterations.cp_map_lgl
Remove currr's intermediate data from the folder.remove_currr_cache
Run a map with the function, but saves after a given number of execution. This is an internal function, you are not supposed to use it manually, but can call for background job inly if exported.saving_map
Run a map with the function, but saves after a given number of execution. This is an internal function, you are not supposed to use it manually, but can call for background job only if exported. This function differs from saving_map, since it does not have a ... input. This is neccessary because job::job fails if ... is not provided for the cp_map call.saving_map_nodot