[This article was first published on R – Enchufa2, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
The 4.4.0 release of simmer, the Discrete-Event Simulator for R, is on CRAN. This update stabilises a new pace of a couple of new releases per year, which is more appropriate given the maturity that the project has reached.
This release brings us a dozen bug fixes and improvements, including the unification of the leave/renege API, further enhancements of convenience function to set up generators, and performance improvements for the simulation environment definition thanks to the vectorisation of add_resource and add_generator. See below for a complete list of changes.
New features
- Add
outandkeep_seizedparameters toleave()with the same behaviour as inrenege_in()andrenege_if(). Code and documentation of these functions are now integrated underhelp(renege)(#208, #217). - Convenience functions
from,toandfrom_toaccept dynamic parameters for argumentsstart_time,stop_timeandevery(#219). - Activities to interact with sources have been vectorised to modify multiple sources at once (#222).
- Several generators or resources with the same parameters can be added with a single call to
add_generator()andadd_resource()respectively if a vector of names is provided (#221).
Minor changes and fixes:
- Fix
get_mon_*()dispatch for named lists (#210). - Get/put the RNG state when random numbers are required in the backend (#218).
- Fix convenience functions
from,toandfrom_toto preserve the environment of the supplied functions (as part of #219). - Documentation improvements (#212, #220).
- Fix queueing in multiple resources after preemption (#224 addressing #206).
To leave a comment for the author, please follow the link and comment on their blog: R – Enchufa2.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
