<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/rcppcctz-0-2-3-and-0-2-2/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://dirk.eddelbuettel.com/blog/2017/06/21#rcppcctz_0.2.3"> Thinking inside the box </a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>A new minor version 0.2.3 of <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.cctz.html" target="_blank">RcppCCTZ</a> is now on <a rel="nofollow" href="https://cran.r-project.org/" target="_blank">CRAN</a>.</p>
<p><a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.cctz.html" target="_blank">RcppCCTZ</a> uses <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html" target="_blank">Rcpp</a> to bring <a rel="nofollow" href="https://github.com/google/cctz" target="_blank">CCTZ</a> to R. <a rel="nofollow" href="https://github.com/google/cctz" target="_blank">CCTZ</a> is <em>a C++ library for translating between absolute and civil times using the rules of a time zone</em>. In fact, it is <em>two</em> libraries. One for dealing with <em>civil time</em>: human-readable dates and times, and one for converting between between absolute and civil times via time zones. The <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.cctz.html" target="_blank">RcppCCTZ</a> page has a few usage examples and details.</p>
<p>This version ensures that we set the <code>TZDIR</code> environment variable correctly on the old dreaded OS that does not come with proper timezone information—an issue which had come up while preparing the next (and <em>awesome</em>, trust me) release of <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/nanotime.html" target="_blank">nanotime</a>. It also appears that I failed to blog about 0.2.2, another maintenance release, so changes for both are summarised next.</p>
<blockquote>
<h4>Changes in version 0.2.3 (2017-06-19)</h4>
<ul>
<li>
<p>On Windows, the <code>TZDIR</code> environment variable is now set in <code>.onLoad()</code></p>
</li>
<li>
<p>Replaced <code>init.c</code> with registration code inside of <code>RcppExports.cpp</code> thanks to Rcpp 0.12.11.</p>
</li>
</ul>
<h4>Changes in version 0.2.2 (2017-04-20)</h4>
<ul>
<li>
<p>Synchronized with upstream CCTZ</p>
</li>
<li>
<p>The <code>time_point</code> object is instantiated explicitly for nanosecond use which appears to be required on macOS</p>
</li>
</ul>
</blockquote>
<p>We also have a <a rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries/2017/06/20#RcppCCTZ_0.2.3" target="_blank">diff to the previous version</a> thanks to <a rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries" target="_blank">CRANberries</a>. More details are at the <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.cctz.html" target="_blank">RcppCCTZ page</a>; code, issue tickets etc at the <a rel="nofollow" href="https://github.com/eddelbuettel/rcppcctz" target="_blank">GitHub repository</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/2017/06/21#rcppcctz_0.2.3"> 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/9dhiP61Oc2Y" height="1"></a></div>