<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/rcpptoml-0-1-5-small-extensions/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://dirk.eddelbuettel.com/blog/2018/10/31#rcpptoml_0.1.5"> Thinking inside the box </a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>Coming on the heels of <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2018/10/23#rcpptoml_0.1.4" target="_blank">last week’s RcppTOML 0.1.4 release</a> bringing support for <a rel="nofollow" href="https://github.com/toml-lang/toml/blob/master/versions/en/toml-v0.5.0.md" target="_blank">TOML v0.5.0</a>, we have a new release 0.1.5 on <a rel="nofollow" href="https://cran.r-project.org/" target="_blank">CRAN</a> with better encoding support as well as support for the time type.</p>
<p><a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.toml.html" target="_blank">RcppTOML</a> brings <a rel="nofollow" href="https://github.com/toml-lang/toml" target="_blank">TOML</a> to R. <a rel="nofollow" href="https://github.com/toml-lang/toml" target="_blank">TOML</a> is a file format that is most suitable for configurations, as it is meant to be <em>edited by humans</em> but read by computers. It emphasizes <em>strong readability for humans</em> while at the same time supporting <em>strong typing</em> as well as <em>immediate and clear error reports</em>. On small typos you get parse errors, rather than silently corrupted garbage. Much preferable to any and all of XML, JSON or YAML – though sadly these may be too ubiquitous now. <a rel="nofollow" href="https://github.com/toml-lang/toml" target="_blank">TOML</a> has been making inroads with projects such as the <a rel="nofollow" href="https://gohugo.io/" target="_blank">Hugo</a> static blog compiler, or the <a rel="nofollow" href="https://crates.io/" target="_blank">Cargo</a> system of Crates (aka “packages”) for the <a rel="nofollow" href="https://www.rust-lang.org/en-US/" target="_blank">Rust language</a>.</p>
<p>The list of changes in this incremental version is below.</p>
<blockquote>
<h4>Changes in version 0.1.5 (2018-10-31)</h4>
<ul>
<li>
<p>Escape characters treatment now has toggle (Václav Hausenblas in <a rel="nofollow" href="https://github.com/eddelbuettel/rcpptoml/pull/27" target="_blank">#27</a> fixing <a rel="nofollow" href="https://github.com/eddelbuettel/rcpptoml/pull/26" target="_blank">#26</a>)</p>
</li>
<li>
<p>The TOML 0.5.0 ‘time’ type is now supported (somewhat) by returning a formatted string (<a rel="nofollow" href="https://github.com/eddelbuettel/rcpptoml/pull/29" target="_blank">#29</a>)</p>
</li>
<li>
<p>Encodings are now supported by defaulting to UTF-8 (Václav Hausenblas in <a rel="nofollow" href="https://github.com/eddelbuettel/rcpptoml/pull/30" target="_blank">#30</a> fixing <a rel="nofollow" href="https://github.com/eddelbuettel/rcpptoml/pull/28" target="_blank">#28</a>)</p>
</li>
</ul>
</blockquote>
<p>Courtesy of <a rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries/" target="_blank">CRANberries</a>, there is a diffstat report for <a rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries/2018/10/31#RcppTOML_0.1.5" target="_blank">this release</a>.</p>
<p>More information is on the <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.toml.html" target="_blank">RcppTOML page</a> page. Issues and bugreports should go to the <a rel="nofollow" href="https://github.com/eddelbuettel/rcpptoml/issues" target="_blank">GitHub issue tracker</a>.</p>
<p>
This post by <a rel="nofollow" href="http://dirk.eddelbuettel.com/" target="_blank">Dirk Eddelbuettel</a> originated on his <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/" target="_blank">Thinking inside the box</a> blog. Please report excessive re-aggregation in third-party for-profit settings.</p>
<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="http://dirk.eddelbuettel.com/blog/2018/10/31#rcpptoml_0.1.5"> Thinking inside the box </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/RlPdH5lGDDI" height="1"></a></div>