setSymbolLookup(QQQQ='yahoo',DIA='MySQL')
getSymbolLookup('QQQQ')
getSymbolLookup(c('QQQQ','DIA'))
## Will download QQQQ from yahoo
## and load DIA from MySQL
getSymbols(c('QQQQ','DIA'))
## Use something like this to always retrieve
## from the same source
.First <- function() {
require(quantmod,quietly=TRUE)
quantmod::setSymbolLookup(SUNW="MySQL")
}Run the code above in your browser using DataLab