search for: spy&ignore

Displaying 1 result from an estimated 1 matches for "spy&ignore".

2010 Jan 13
1
Dynamic file / url name with read.csv
Hi- I would like to be able to change the value of SymA below and download a file from the corresponding URL.? Hardcoded, this line works fine: Symbol<- read.csv("http://ichart.finance.yahoo.com/table.csv?s=SPY&ignore=.csv", stringsAsFactors=F) However, when I incorporate using?a variable for the ticker, it no longer works.? SymA<- "SPY" Sym1<- cat('http://ichart.finance.yahoo.com/table.csv?s=",SymA,"&ignore=.csv",sep="";) Symbol<- read.csv(S...