<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/xts-0-11-2-on-cran/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://blog.fosstrading.com/2018/11/xts-011-2-on-cran.html"> FOSS Trading</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p><a rel="nofollow" href="https://cloud.r-project.org/package=xts" target="_blank">xts</a> version 0.11-2 was published to <a rel="nofollow" href="https://cloud.r-project.org/" target="_blank">CRAN</a> yesterday. <a rel="nofollow" href="https://cloud.r-project.org/package=xts" target="_blank">xts</a> provides data structure and functions to work with time-indexed data.  This is a bug-fix release, with notable changes below:</p>
<ul>
<li>The xts method for <code>shift.time()</code> is now registered. Thanks to Philippe Verspeelt for the report and PR (<a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/268" target="_blank">#268</a>, <a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/273" target="_blank">#273</a>). </li>
<li>An if-statement in the <code>xts</code> constructor will no longer try to use a logical vector with length > 1. Code like <code>if (c(TRUE, TRUE))</code> will throw a warning in an upcoming R release, and this patch will prevent that warning. Thanks to Hugh Parsonage for the report and PR (<a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/270" target="_blank">#270</a>, <a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/272" target="_blank">#272</a>). </li>
<li>Fix subset when <code>index(i)</code> and <code>i</code> contain duplicates. Observations were being incorrectly dropped, and behavior is now consistent with zoo. Thanks to Stack Overflow user <a rel="nofollow" href="https://stackoverflow.com/users/4024268/scs" target="_blank">scs</a> for the report, and Philippe Verspeelt for the help debugging (<a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/275" target="_blank">#275</a>). </li>
<li>Make column names for <code>merge()</code> results with unnamed objects shorter and more like zoo (<a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/248" target="_blank">#248</a>). Previously, column names could be hundreds, even thousands, of characters. This change has the added benefit of making <code>na.fill()</code> much faster (<a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/259" target="_blank">#259</a>). NOTE: This may BREAK existing code for integer unnamed objects. </li>
<li>The <code>to.period()</code> family of functions now use the index timezone when converting intraday index values to daily values (or lower frequency). Previously, the dates would be calculated as UTC dates, instead of dates in the local timezone (as they are now). Thanks to Garrett See and Gabor Grothendieck for the reports (<a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/53" target="_blank">#53</a>, <a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/277" target="_blank">#277</a>). </li>
</ul>
<p>As always, I’m looking forward to your questions and feedback! If you have a question, please ask on <a rel="nofollow" href="https://stackoverflow.com/" target="_blank">Stack Overflow</a> and use the <a rel="nofollow" href="https://stackoverflow.com/questions/tagged/r" target="_blank">[r]</a> and <a rel="nofollow" href="https://stackoverflow.com/questions/tagged/xts" target="_blank">[xts]</a> tags. Or you can send an email to the <a rel="nofollow" href="https://stat.ethz.ch/mailman/listinfo/r-sig-finance" target="_blank">R-SIG-Finance mailing list</a> (you must subscribe to post). Open an issue <a rel="nofollow" href="https://github.com/joshuaulrich/xts" target="_blank">on GitHub</a> if you find a bug or want to request a feature, but please read the <a rel="nofollow" href="https://github.com/joshuaulrich/xts/blob/master/.github/CONTRIBUTING.md" target="_blank">contributing guide</a> first!</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://blog.fosstrading.com/2018/11/xts-011-2-on-cran.html"> FOSS Trading</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/v-Eikg39BLo" height="1"></a></div>