<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello All:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I am trying to generate a sequence of dates using
library(chron). Using the following code, I got most of what I
want,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>
dts <- seq.dates("01/02/1998", "01/10/2001", by="day")</FONT></DIV>
<DIV><FONT face=Arial size=2>
dts <- dts[!is.weekend(dts)]</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>a sequence of weekdays only (no weekend dates),
with first observation appearing as 01/02/98 and the last 01/10/01. But I
would like it to appear as 1998/01/02 to 2001/01/10.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Is there some way to change the order of
the output and allow "year" to appear with four digits and slash signs
between year, month and day?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>(I am using R 1.2.0 on a Windows 2000
platform.)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thanks (in advance),</FONT></DIV>
<DIV><FONT face=Arial size=2>ANDREW</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Andrew Criswell</FONT></DIV>
<DIV><FONT face=Arial size=2>Professor of Finance</FONT></DIV>
<DIV><FONT face=Arial size=2>Graduate School, Bangkok
University<BR></DIV></FONT></BODY></HTML>