[R] Downloading Yahoo data
Henrique Dallazuanna
wwwhsd at gmail.com
Thu Aug 7 18:13:37 CEST 2008
Then, start the R with --internet2 argument.
On Thu, Aug 7, 2008 at 12:08 PM, Shubha Vishwanath Karanth
<shubhak at ambaresearch.com> wrote:
> Yes Henrique... we are connecting to the internet through a proxy...
>
> Thanks, Shubha
> Shubha Karanth | Amba Research
> Ph +91 80 3980 8031 | Mob +91 94 4886 4510
> Bangalore * Colombo * London * New York * San José * Singapore * www.ambaresearch.com
>
>
> -----Original Message-----
> From: Henrique Dallazuanna [mailto:wwwhsd at gmail.com]
> Sent: Thursday, August 07, 2008 8:17 PM
> To: Shubha Vishwanath Karanth
> Cc: r-help at stat.math.ethz.ch
> Subject: Re: [R] Downloading Yahoo data
>
> You are connecting to the internet trougth a proxy?
>
> On Thu, Aug 7, 2008 at 9:40 AM, Shubha Vishwanath Karanth
> <shubhak at ambaresearch.com> wrote:
>> Hi R,
>>
>>
>>
>> I am trying to download the data from R. I give the below command.
>>
>>
>>
>>> library(fImport)
>>
>>> yahooSeries("IBM")
>>
>> trying URL
>> 'http://chart.yahoo.com/table.csv?s=IBM&a=7&b=08&c=2007&d=7&e=07&f=2008&
>> g=d&x=.csv'
>>
>> Error in download.file(url = url, destfile = file, method = method) :
>>
>> cannot open URL
>> 'http://chart.yahoo.com/table.csv?s=IBM&a=7&b=08&c=2007&d=7&e=07&f=2008&
>> g=d&x=.csv'
>>
>> In addition: Warning message:
>>
>> In download.file(url = url, destfile = file, method = method) :
>>
>> unable to connect to 'chart.yahoo.com' on port 80.
>>
>> Error: cannot get a slot ("data") from an object of type "character"
>>
>> In addition: Warning message:
>>
>> trying to get slot "data" from an object of a basic class ("character")
>> with no slots
>>
>>
>>
>>
>>
>> The problem is related with connection of R with the internet. But my
>> port 80 is opened. Then also the error persists.
>>
>>
>>
>> And also, the link is accessible in my PC via the direct internet. How
>> do I make this work?
>>
>>
>>
>> Many Thanks,
>>
>> Shubha
>>
>>
>>
>> This e-mail may contain confidential and/or privileged i...{{dropped:13}}
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
>
>
> --
> Henrique Dallazuanna
> Curitiba-Paraná-Brasil
> 25° 25' 40" S 49° 16' 22" O
> This e-mail may contain confidential and/or privileged...{{dropped:19}}
More information about the R-help
mailing list