From vograno at evafunds.com  Fri Dec  3 20:29:08 2004
From: vograno at evafunds.com (Vadim Ogranovich)
Date: Fri Dec  3 20:28:56 2004
Subject: [Rd] seq.Date requires by
Message-ID: <C698D707214E6F4AB39AB7096C3DE5A575195F@phost015.EVAFUNDS.intermedia.net>

Hi,

What is the reason for seq.Date to require the 'by' argument and not to
default it to 1 in the example below?


> seq(from=as.Date("1996-01-01"), to=as.Date("1996-12-01"))
Error in seq.Date(from = as.Date("1996-01-01"), to =
as.Date("1996-12-01")) : 
 exactly two of `to', `by' and `length.out' / `along.with' must be
specified

This is R-1.9.1, but I haven't seen anything pertaining in the release
notes of 2.0.x.

Thanks,
Vadim


[Rd] seq.Date requires by
Vadim Ogranovich