<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.16.1">
</HEAD>
<BODY>
<FONT COLOR="#000000">Hello,</FONT><BR>
<BR>
<FONT COLOR="#000000">I am using quantmod to download FRED data and would like to view the series using the chartSeries function, but I am getting an error. </FONT><BR>
<BR>
<FONT COLOR="#000000">> getSymbols('M1', src='FRED')</FONT><BR>
<FONT COLOR="#000000">> class(M1)</FONT><BR>
<FONT COLOR="#000000">[1] "xts" "zoo"</FONT><BR>
<FONT COLOR="#000000">> chartSeries(Delt(M1), type='line')</FONT><BR>
<FONT COLOR="#000000">Error in sum(poss.new) : invalid 'type' (list) of argument</FONT><BR>
<FONT COLOR="#000000">> chartSeries(Delt(M1))</FONT><BR>
<FONT COLOR="#000000">Error in sum(poss.new) : invalid 'type' (list) of argument</FONT><BR>
<BR>
<FONT COLOR="#000000">Based on the documentation it seems that this data should be supported:</FONT><BR>
<FONT COLOR="#000000">"</FONT>Courtesy of <I>as.xts</I> it can handle any object that is time-series like, meaning <B>R</B> objects of class <B>xts</B>, <B>zoo</B>, <B>timeSeries</B>, <B>its</B>, <B>ts</B>, <B>irts</B>, and more!<FONT COLOR="#000000">"</FONT><BR>
<BR>
<FONT COLOR="#000000">According to ?quantmod, I am using:</FONT><BR>
<FONT COLOR="#000000"> Version: 0.3-6</FONT><BR>
<FONT COLOR="#000000"> Revision: 433</FONT><BR>
<FONT COLOR="#000000"> Date: 2007-06-09</FONT><BR>
<BR>
<BR>
<FONT COLOR="#000000">Is this functionality supported or am I missing something?</FONT><BR>
<BR>
<FONT COLOR="#000000">Thanks,</FONT><BR>
<FONT COLOR="#000000">Brian</FONT>
</BODY>
</HTML>