Re: [R] Dynamic file / url name with read.csv

2010-01-13 Thread ivan popivanov
code. Regards, Ivan > From: k...@csusb.edu > Date: Tue, 12 Jan 2010 22:25:17 -0800 > To: r-help@r-project.org > Subject: Re: [R] Dynamic file / url name with read.csv > > > A few suggestions: > Don't mix ' and " > Use paste() > Don't include an

Re: [R] Dynamic file / url name with read.csv

2010-01-12 Thread Kevin Middleton
A few suggestions: Don't mix ' and " Use paste() Don't include an extraneous ; SymA<- "SPY" Sym1<- paste("http://ichart.finance.yahoo.com/table.csv?s=",SymA,"&ignore=.csv",sep="";) Symbol<- read.csv(Sym1, stringsAsFactors=F) On Jan 12, 2010, at 10:03 PM, B S wrote: > > Hi- > > I would