xuruilong100 发表于 2014-11-12 16:34 
这是修改后的代码,亲测可行
但是我这里还是报错,Error in download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m, :
cannot open URL 'http://chart.yahoo.com/table.csv?s=603009.SS&a=0&b=01&c=2007&d=10&e=12&f=2014&g=d&q=q&y=0&z=603009.SS&x=.csv' In addition: There were 24 warnings (use warnings() to see them)
> head(update_data)
Error in head(update_data) : object 'update_data' not found