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@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.

Reply via email to