<p><div><div><div><div data-show-faces="false" data-height="21" data-width="100" data-layout="button_count" data-send="true" data-href="https://www.r-bloggers.com/simmer-3-7-0/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="https://www.enchufa2.es/archives/simmer-3-7-0.html"> R – Enchufa2</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>The 3.7.0 release of <a rel="nofollow" href="http://r-simmer.org/" target="_blank">simmer</a>, the Discrete-Event Simulator for R, is on CRAN. It includes several API improvements and bug fixes. Among the former, the new <code>timeout_from_attribute()</code> activity makes it easier and more efficient the common task of placing a timeout based on a previously set attribute. Another common task is to increment or decrement a given attribute. To this end, <code>set_attribute</code> and other <em>setters</em> get a new argument <code>mod</code> which, if set to <code>&quot;+&quot;</code> or <code>&quot;*&quot;</code>, modifies the value correspondingly instead of substituting it.</p>
<p>This minor release also includes some minor breaking changes. In particular, all deprecations from the v3.6.x series have been finally removed, which should come as no surprise. Besides, <code>get_mon_resources()</code> loses the <code>data</code> argument, which was there for historical reasons and probably nobody was using it.</p>
<p>Finally, there are two additional vignettes:</p>
<ul>
<li><a rel="nofollow" href="https://r-simmer.org/articles/simmer-02-jss.pdf" target="_blank">“simmer: Discrete-Event Simulation for R”</a> describes the internal design, the R API, provides some modelling examples and a performance evaluation. We are very proud to officially announce that it has been accepted for publication in the <em>Journal of Statistical Software</em>.</li>
<li><a rel="nofollow" href="https://r-simmer.org/articles/simmer-aa-5g" target="_blank">“Design and Analysis of 5G Scenarios”</a> contains supplementary materials for a homonymous paper that has been accepted for publication in the <em>IEEE Communications Magazine</em>.</li>
</ul>
<p>See the <a rel="nofollow" href="https://cran.r-project.org/web/packages/simmer/citation.html" target="_blank">citation information</a> for further details.</p>
<div>
<h3>New features:</h3>
<ul>
<li>New <code>timeout_from_attribute()</code> activity makes it easier to set a timeout based on an attribute (#129).</li>
<li>The activities <code>set_attribute()</code>, <code>set_prioritization()</code>, <code>set_capacity()</code> and <code>set_queue_size()</code> get a new argument <code>mod</code> which, if set to <code>&quot;+&quot;</code> or <code>&quot;*&quot;</code>, modifies the corresponding value instead of substituting it. This makes it easier to increment, decrement or scale one of these values (#130).</li>
<li>New <code>*_selected()</code> versions for the already available resource getters: <code>get_capacity()</code>, <code>get_queue seize()</code>, <code>get_server_count()</code>and <code>get_queue_count()</code> (#134).</li>
</ul>
</div>
<div>
<h3>Minor changes and fixes:</h3>
<ul>
<li>Broadcast signals with higher priority to prevent an arrival to catch its own signal with a <code>trap()</code> after a <code>send()</code> (#135).</li>
<li>Generate new arrivals with minimum priority to avoid wrong interactions with simultaneous activities (#136).</li>
<li>Remove v3.6.x deprecations: the old attribute retrieval system (see notes for v3.6.3), as well as methods <code>create_trajectory()</code> and <code>onestep()</code> (#117).</li>
<li>Remove <code>get_mon_resources()</code>’s <code>data</code> argument. It was there for historical reasons and probably nobody was using it (851d34b).</li>
<li>New vignette, “simmer: Discrete-Event Simuation for R”, paper accepted for publication in the Journal of Statistical Software. Remove “Terminology” vignette (#127).</li>
<li>New vignette, “Design and Analysis of 5G Scenarios”, supplementary materials for a paper accepted for publication in the IEEE Communications Magazine (#137).</li>
</ul>
</div>
<p><em>Article originally published in Enchufa2.es: <a rel="nofollow" href="https://www.enchufa2.es/archives/simmer-3-7-0.html" target="_blank">simmer 3.7.0</a></em>.</p>
	<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="https://www.enchufa2.es/archives/simmer-3-7-0.html"> R – Enchufa2</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a rel="nofollow" href="https://www.r-project.org/" title="The R Project for Statistical Computing">R</a> news and <a rel="nofollow" href="https://www.r-bloggers.com/search/tutorial" title="R tutorials">tutorials</a> on topics such as: <a rel="nofollow" href="https://www.r-bloggers.com/search/data%20science" title="Data science">Data science</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data" title="Big Data">Big Data, <a rel="nofollow" href="https://www.r-users.com/" title="R jobs">R jobs</a>, visualization (<a rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2" title="ggplot and ggplot2 tutorials">ggplot2</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/boxplot" title="Boxplots using lattice and ggplot2 tutorials">Boxplots</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/map" title="Maps and gis">maps</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/animation" title="Animation in R">animation</a>), programming (<a rel="nofollow" href="https://www.r-bloggers.com/search/RStudio" title="RStudio IDE for R">RStudio</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/sweave" title="Sweave and literate programming">Sweave</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX" title="LaTeX in R">LaTeX</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/SQL" title="SQL and databases">SQL</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/eclipse" title="Eclipse IDE for R">Eclipse</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/git" title="git and github, Version Control System">git</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/hadoop" title="Large data in R using Hadoop">hadoop</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping" title="Web Scraping of google, facebook, yahoo, twitter and more using R">Web Scraping</a>) statistics (<a rel="nofollow" href="https://www.r-bloggers.com/search/regression" title="Regressions and ANOVA analysis tutorials">regression</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/PCA" title="principal component analysis tutorial">PCA</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/time+series" title="Time series">time series</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/trading" title="finance trading">trading</a>) and more...
<img width="1" alt="" src="http://feeds.feedburner.com/~r/RBloggers/~4/7z7QQPZXhHQ" height="1"></a></div>