Learn R Programming

mrgsim.parallel (version 0.3.0)

Simulate with 'mrgsolve' in Parallel

Description

Simulation from an 'mrgsolve' model using a parallel backend. Input data sets are split (chunked) and simulated in parallel using mclapply() or future_lapply() .

Copy Link

Version

Install

install.packages('mrgsim.parallel')

Monthly Downloads

286

Version

0.3.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Kyle Baron

Last Published

July 28th, 2025

Functions in mrgsim.parallel (0.3.0)

mrgsim_ms

Run mrgsim after trying to load the shared object
is.file_stream

Check if an object inherits from file_stream
new_stream

Create a stream of outputs and inputs
noreset_locker

Prohibit a locker space from being reset
file_stream

Create a stream of files
is.file_set_item

Check if an object is a file_set_item
internalize_fst

Get the contents of an fst file set
version_locker

Version locker contents
reset_locker

Initialize the locker directory
temp_ds

Create a path to a dataset in tempdir
parallel_mrgsim_d

Simulate a data set in parallel
setup_locker

Set up a data storage locker
parallel_mrgsim_ei

Simulate an idata set in parallel
write_stream

Writer functions for stream_file objects
format_stream

Set the format for a stream_file object
ext_stream

Set or change the file extension on file_stream names
format_is_set

Check format status of file set item
file_set

Generate a sequence of file objects
head_fst

Get the head of an fst file set
bg_mrgsim_d

Run mrgsim in the background
bg_mclapply

Multicore lapply in the background
chunk_data_frame

Chunk a data frame
mrgsim.parallel

Simulate with 'mrgsolve' in Parallel
list_fst

List all output files in a fst file set
is.locker_stream

Check if an object inherits from locker_stream
is_locker_dir

Check if a directory is dedicated locker space
locate_stream

Set or change the directory for file_stream objects