On 03/29/2014 04:09 AM, KIRA wrote:
Hi R,
       I am a new Chinese user of R, I like this language very much.In the 
recent months,I spend over 4 hours every day leanring R,but during the learning 
I come across some problems I can not understand.For R is still not very 
popular in China,I ask  some  net friends but nobody can give me a satisfactory 
answer,so I have to ask for your help. In the package quatmod, getSymbols is a 
useful tools to fetch datas form the Internet but it often can not work when I 
use it,such as
  getSymbols("APPL",src="yahoo")  or 
getSymbols("APPL",from="2007-01-03",to=Sys.Date()) .It should be useful because many books have 
already shown it ,but   As of 0.4-0, ¡®getSymbols¡¯ uses env=parent.frame() and
  auto.assign=TRUE by default.
   This  behavior  will be  phased out in 0.5-0  when the call  will
  default to use auto.assign=FALSE. getOption("getSymbols.env") and
  getOptions("getSymbols.auto.assign") are now checked for alternate defaults
   This message is shown once per session and may be disabled by setting
  options("getSymbols.warning4.0"=FALSE). See ?getSymbol for more details
´íÎóÓÚdownload.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m,  :
   
ÎÞ·¨´ò¿ªURL'http://chart.yahoo.com/table.csv?s=APPL&a=0&b=03&c=2007&d=2&e=29&f=2014&g=d&q=q&y=0&z=APPL&x=.csv'
´ËÍâ: ¾¯¸æÐÅÏ¢£º
In download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m,  :
   ÎÞ·¨´ò¿ª: HTTP״̬ÊÇ'404Not Found'
  I want to know why.Maybe it due to the damn Great Firewall. I hope you can 
reply to me when convenience. Best ragards.(My English is not fluent, please do 
not mind)
                                                                                    
                          A Chinese R  user&  lover.
        [[alternative HTML version deleted]]

Hi KIRA,
I, like Peter, get a 404 error when I try to access the URL you included. Can you try to catch such an error on other URLs that you cannot access, as that may be the problem. I don't think the Great Firewall extends to Denmark _and_ Australia.

Jim

______________________________________________
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