我正在RStudio Cloud中使用BatchGetSymbols
。这在上周有效,但今天突然无效。
require(BatchGetSymbols)
tick <- c('VWENX','DHSTX','AGG')
first.date <-Sys.Date()-100
last.date <-Sys.Date()
x <-BatchGetSymbols(tick,first.date,last.date,freq.data='daily',
do.parallel=FALSE)
head(x$df.tickers)
这是返回的内容:
Running BatchGetSymbols for:
tickers = VWENX, DHSTX, AGG
Downloading data for benchmark ticker
^GSPC | yahoo (1|1) | Found cache file | Need new dataError in charToDate(x) :
character string is not in a standard unambiguous format
为什么突然不起作用,我需要怎么做才能解决它?