R / historical data from yahoo

Dear-

Daily return rate can be downloaded fine, as follows.

install.packages("tawny")
library(tawny)
SnP500 <- c("ACE", ... , "ZTS")
ReturnFrom2007 <- getPortfolioReturns(SnP500 , start = "2007-01-01")

Instead of the % data, I like to receive a matrix with daily close.

What is the R command (other than the getPortfolioReturns) to receive the daily close? If possible, OHLC are hoped to be downloaded, as well.

Thanks in advance.

-Jay
 
Back
Top