[R-SIG-Finance] xts timeBasedSeq

Joshua Ulrich josh.m.ulrich at gmail.com
Wed Dec 23 04:40:59 CET 2015


Hi Rod,

On Tue, Dec 22, 2015 at 6:02 PM, Rods <uchiharj at gmail.com> wrote:
> Hi,
>
> I'm trying to make a time sequence using the length.out argument but it
> just outputs a list without the sequence. I'm just running the example
> shown in the xts package:
>
> timeBasedSeq('20080101 0830',length=100)
>
> Is there something wrong with my installation?
>
Hard to know, since you haven't told us anything about your installation. ;)

That said, most of the code in that function has not been touched
since mid-2008. There was a commit in early 2009 that attempted to fix
a bug, and the commit message says the fix is incomplete:
https://github.com/joshuaulrich/xts/commit/743c686c8e2819d0991821d8965ccbe4b7782f3

So that's likely what you're seeing.  I'll investigate and open an
issue once I can put a bit more context into the report.

> Thanks in advance,
> Rod
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Finance at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should go.



-- 
Joshua Ulrich  |  about.me/joshuaulrich
FOSS Trading  |  www.fosstrading.com



More information about the R-SIG-Finance mailing list