[R-SIG-Finance] [R-sig-finance] Quantmod

Jeff Ryan jeff.a.ryan at gmail.com
Thu Jul 30 19:49:07 CEST 2009


The other issue is that your version is a bit out of date.

The current CRAN version is 0.3-11.  I'll update the website to
reflect this, as well as post a warning that the site has a tendency
to lag behind CRAN or R-forge in terms of most current versions.

Thanks,
Jeff

On Thu, Jul 30, 2009 at 12:43 PM, Arun.stat<arun.kumar.saha at gmail.com> wrote:
>
> I think it is your net-connection problem. It is working fine in my system :
>
>> from.dat <- as.Date("01/01/08", format="%m/%d/%y")
>> to.dat <- as.Date("02/19/09", format="%m/%d/%y")
>>
>> getSymbols("GE", src="yahoo", from = from.dat, to = to.dat)
> [1] "GE"
>> Sys.info()
>                     sysname                      release
> version
>                   "Windows"                      "Vista" "build 6002,
> Service Pack 2"
>                    nodename                      machine
> login
>                      "ARUN"                        "x86"
> "Arrun's"
>                        user
>                   "Arrun's"
>
>
>
> ehxpieterse wrote:
>>
>> Hi there,
>>
>> I have recently installed R 2.9.1 and quantmod 0.3.6
>>
>> I am trying to get my head around using it, but I keep on getting stopped
>> at the first hurdle. As an example, I am trying to test the following
>> code:
>>
>> > from.dat <- as.Date("01/01/08", format="%m/%d/%y")
>>> to.dat <- as.Date("02/19/09", format="%m/%d/%y")
>>>
>>> getSymbols("GE", src="yahoo", from = from.dat, to = to.dat)
>> But I get the following error:
>>
>> Error in download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m,
>> :
>>   cannot open URL
>> 'http://chart.yahoo.com/table.csv?s=GE&a=0&b=01&c=2008&d=1&e=19&f=2009&g=d&q=q&y=0&z=GE&x=.csv'
>> In addition: Warning message:
>> In download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m,  :
>>   unable to connect to 'chart.yahoo.com' on port 80.
>>
>> I am not sure where to start to fix this this problem. Has anyone come
>> accross something like this before?
>>
>> Thanks,
>> Eduard
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Quantmod-tp24739588p24743374.html
> Sent from the Rmetrics mailing list archive at Nabble.com.
>
> _______________________________________________
> R-SIG-Finance at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only.
> -- If you want to post, subscribe first.
>



-- 
Jeffrey Ryan
jeffrey.ryan at insightalgo.com

ia: insight algorithmics
www.insightalgo.com



More information about the R-SIG-Finance mailing list