<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-1-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/09/xts-011-1-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-1 was published to <a rel="nofollow" href="https://cloud.r-project.org/" target="_blank">CRAN</a> this morning. <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 release contains some awesome features that will transparently make your <a rel="nofollow" href="https://cloud.r-project.org/package=xts" target="_blank">xts</a> code even faster!</p>
<ul>
<li>There’s a new <code>window.xts()</code> method, thanks to Corwin Joy (<a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/100" target="_blank">#100</a>, <a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/240" target="_blank">#240</a>). Corwin also refactored and improved the performance of the binary search algorithm used to subset xts objects. Tom Andrews reported and fixed a few related regressions (<a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/251" target="_blank">#251</a>, <a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/263" target="_blank">#263</a>, <a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/264" target="_blank">#264</a>).</li>
<li>The <code>na.locf.xts()</code> method loops over columns of multivariate objects in C code, for improved speed and memory performance. Thanks to Chris Katsulis and Tom Andrews for their reports and patches (<a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/232" target="_blank">#232</a>, <a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/233" target="_blank">#233</a>, <a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/234" target="_blank">#234</a>, <a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/235" target="_blank">#235</a>, <a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/237" target="_blank">#237</a>).</li>
<li>After many years, <code>merge.xts()</code> can finally handle multiple character or complex xts objects. Thanks to Ken Williams for the report (<a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/44" target="_blank">#44</a>).</li>
<li>You can use “quarters” to specify tick/grid mark locations on plots. Thanks to Marc Weibel for the report (<a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/256" target="_blank">#256</a>).</li>
</ul>
<p>There are also a few notable bug fixes:</p>
<ul>
<li><code>make.index.unique()</code> always returns a unique and sorted index. Thanks to Chris Katsulis for the report and example (<a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/241" target="_blank">#241</a>).</li>
<li>Plots have better axis tick mark locations, thanks to Dirk Eddelbuettel (<a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/246" target="_blank">#246</a>).</li>
<li><code>periodicity()</code> now warns instead of errors if the xts object contains less than 2 observations (<a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/230" target="_blank">#230</a>).</li>
<li><code>first()</code> and <code>last()</code> now keep dims when they would otherwise be dropped by a regular row subset. This is consistent with <code>head()</code> and <code>tail()</code>. Thanks to Davis Vaughan for the report (<a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/226" target="_blank">#226</a>).</li>
<li>An invalid ISO8601 range subset now returns no data instead of all rows (<a rel="nofollow" href="https://github.com/joshuaulrich/xts/issues/96" target="_blank">#96</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/09/xts-011-1-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/t9rFEiNKimk" height="1"></a></div>