Package: mrgsim.parallel 0.2.0.9002

mrgsim.parallel: Simulate with 'mrgsolve' in Parallel

Simulation from an 'mrgsolve' <https://cran.r-project.org/package=mrgsolve> model using a parallel backend. Input data sets are split (chunked) and simulated in parallel using mclapply() or future_lapply() <https://cran.r-project.org/package=future.apply>.

Authors:Kyle Baron

mrgsim.parallel_0.2.0.9002.tar.gz
mrgsim.parallel_0.2.0.9002.zip(r-4.5)mrgsim.parallel_0.2.0.9002.zip(r-4.4)mrgsim.parallel_0.2.0.9002.zip(r-4.3)
mrgsim.parallel_0.2.0.9002.tgz(r-4.4-any)mrgsim.parallel_0.2.0.9002.tgz(r-4.3-any)
mrgsim.parallel_0.2.0.9002.tar.gz(r-4.5-noble)mrgsim.parallel_0.2.0.9002.tar.gz(r-4.4-noble)
mrgsim.parallel_0.2.0.9002.tgz(r-4.4-emscripten)mrgsim.parallel_0.2.0.9002.tgz(r-4.3-emscripten)
mrgsim.parallel.pdf |mrgsim.parallel.html
mrgsim.parallel/json (API)

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

Peer review:

Bug tracker:https://github.com/kylebaron/mrgsim.parallel/issues

On CRAN:

futuremrgsolveparallelization

4.81 score 5 stars 13 scripts 220 downloads 37 exports 32 dependencies

Last updated 5 months agofrom:d27a0b2e22. Checks:OK: 3 NOTE: 1 ERROR: 3. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 05 2024
R-4.5-winERRORNov 05 2024
R-4.5-linuxNOTENov 05 2024
R-4.4-winERRORNov 05 2024
R-4.4-macOKNov 05 2024
R-4.3-winERRORNov 05 2024
R-4.3-macOKNov 05 2024

Exports:bg_mclapplybg_mrgsim_dchunk_by_colschunk_by_idchunk_by_rowext_streamfile_setfile_streamformat_is_setformat_streamfu_mrgsim_dfu_mrgsim_d0fu_mrgsim_eifu_mrgsim_ei0future_mrgsim_dfuture_mrgsim_eiget_fsthead_fstinternalize_fstis_locker_diris.file_set_itemis.file_streamis.locker_streamis.stream_formatlist_fstlocate_streammc_mrgsim_dmc_mrgsim_eimrgsim_msmrgsim_workernew_streamnoreset_lockerreset_lockersetup_lockertemp_dsversion_lockerwrite_stream

Dependencies:BHcallrclicodetoolsdigestdplyrfansifstfstcorefuturefuture.applygenericsglobalsgluelifecyclelistenvmagrittrmrgsolveparallellypillarpkgconfigprocessxpsR6RcppRcppArmadillorlangtibbletidyselectutf8vctrswithr

Get started

Rendered frommrgsim.parallel.Rmdusingknitr::rmarkdownon Nov 05 2024.

Last update: 2022-01-30
Started: 2022-01-30

Readme and manuals

Help Manual

Help pageTopics
Multicore lapply in the backgroundbg_mclapply
Run mrgsim in the backgroundbg_mrgsim_d
Chunk a data framechunk_by_cols chunk_by_id chunk_by_row chunk_data_frame
Set or change the file extension on file_stream namesext_stream
Generate a sequence of file objectsfile_set
Create a stream of filesfile_stream
Check format status of file set itemformat_is_set is.stream_format
Set the format for a stream_file objectformat_stream
Get the head of an fst file sethead_fst
Get the contents of an fst file setget_fst internalize_fst
Check if a directory is dedicated locker spaceis_locker_dir
Check if an object is a file_set_itemis.file_set_item
Check if an object inherits from file_streamis.file_stream
Check if an object inherits from locker_streamis.locker_stream
List all output files in a fst file setlist_fst
Set or change the directory for file_stream objectslocate_stream
Run mrgsim after trying to load the shared objectmrgsim_ms mrgsim_worker
Simulate with 'mrgsolve' in Parallelmrgsim.parallel
Create a stream of outputs and inputsnew_stream new_stream.character new_stream.data.frame new_stream.list new_stream.numeric
Prohibit a locker space from being resetnoreset_locker
Simulate a data set in parallelfuture_mrgsim_d fu_mrgsim_d fu_mrgsim_d0 mc_mrgsim_d parallel_mrgsim_d
Simulate an idata set in parallelfuture_mrgsim_ei fu_mrgsim_ei fu_mrgsim_ei0 mc_mrgsim_ei parallel_mrgsim_ei
Initialize the locker directoryreset_locker
Set up a data storage lockersetup_locker
Create a path to a dataset in tempdirtemp_ds
Version locker contentsversion_locker
Writer functions for stream_file objectswrite_stream write_stream.default write_stream.stream_format_feather write_stream.stream_format_fst write_stream.stream_format_parquet write_stream.stream_format_qs write_stream.stream_format_rds