[Rd] get.hist.quote in tseries stops not working under 1.7 (PR#2815)

alexg at trwim.com alexg at trwim.com
Tue Apr 22 14:28:43 MEST 2003


Full_Name: Alexander Gracian
Version: 1.70
OS: Windows 2000
Submission from: (NULL) (217.158.140.82)


I have just upgraded to v1.7 from v.162 & updates the tseries package. what ever
I try I get the message:
Error in Ops.difftime(jdat - jdat[n], 1) : 
        both arguments of + must be difftime object

Log pasted below....

   `tseries' version: 0.9-10 
 
        `tseries' is a package for time series analysis
         and computational finance.
         See `library (help=tseries)' for details.

> x <- get.hist.quote(instrument = "^spc", start = "1998-01-01",
+                     quote = "Close")
trying URL `http://chart.yahoo.com/table.csv?s=^spc&a=0&b=01&c=1998&d=3&e=21&f=2003&g=d&q=q&y=0&z=^spc&x=.csv'
Content type `application/octet-stream' length unknown
opened URL
downloaded 64Kb

time series starts 1998-01-02
Error in Ops.difftime(jdat - jdat[n], 1) : 
        both arguments of + must be difftime objects



More information about the R-devel mailing list