Joshua Ulrich

Results 269 comments of Joshua Ulrich
trafficstars

My prior is to return the same as x[0,]. I could be convinced otherwise...

When `x` is an xts object, `data.table::first()` and `data.table::last()` call `xts::first()` and `xts::last()`, respectively. data.table will also call the xts functions if `x` isn't an xts object, but the xts...

This is expected. `merge.xts` is recursive, so it's adding each column one at a time. You can work around it in this case, since you know the index is the...

This simply is not possible without _a lot_ of extra work. An xts object is a matrix with an `index` attribute, and a matrix is just a vector with a...

Thanks for the report! I also noticed that `rollmean()` is using `align = "center"` instead of `align = "right"` like `rollapply.xts()` does by default. That's because there isn't a `rollmean.xts()`...

Please do not open a new issue to discuss a solution proposed in another issue. That splits the discussion into multiple places, which makes it harder to keep track of...

My apologies. It wasn't clear to me that this issue did not depend on the suggested solution in the other issue you referenced. I deleted the comments about the other...

Note that this behavior is consistent with v0.10-2: ```r library(xts) packageVersion("xts") # [1] '0.10.2' testxts

I consider this a feature request, since the current behavior is consistent with v0.10-2. That makes this a lower priority than the bugs caused by regressions in v0.11-0.

I'm not sure this is a bug in xts, or a bug at all. I added the following code to the top of `src/dimnames.c`: ```c if (MAYBE_SHARED(x)) { x =...