BatchGetSymbols -> GetSP500Stocks() -> Error: Table has inconsistent number of columns. Do you want fill = TRUE?
BatchGetSymbols -> GetSP500Stocks() -> Error: Table has inconsistent number of columns. Do you want fill = TRUE?
我一直在使用 R 包 BatchGetSymbols,它通常工作得很好。今天,我的工作流程在 GetSP500Stocks() 函数上失败并显示消息 "Error: Table has inconsistent number of columns. Do you want fill = TRUE?".
今天还有其他人看到这个吗?
install.packages("BatchGetSymbols")
library(BatchGetSymbols)
df.SP500 <- GetSP500Stocks()
GetSP500Stocks()
Error: Table has inconsistent number of columns. Do you want fill = TRUE?
作者在这里。这是维基百科中 HTML table 的问题。我刚刚在 github 中修复了它,它应该很快就会进入 CRAN。试试这个:
devtools::install_github('msperlin/BatchGetSymbols')
library(BatchGetSymbols)
df.SP500 <- GetSP500Stocks()
顺便说一句,下次 post github 中的一个问题,我会解决它。
最佳,
我一直在使用 R 包 BatchGetSymbols,它通常工作得很好。今天,我的工作流程在 GetSP500Stocks() 函数上失败并显示消息 "Error: Table has inconsistent number of columns. Do you want fill = TRUE?".
今天还有其他人看到这个吗?
install.packages("BatchGetSymbols")
library(BatchGetSymbols)
df.SP500 <- GetSP500Stocks()
GetSP500Stocks() Error: Table has inconsistent number of columns. Do you want fill = TRUE?
作者在这里。这是维基百科中 HTML table 的问题。我刚刚在 github 中修复了它,它应该很快就会进入 CRAN。试试这个:
devtools::install_github('msperlin/BatchGetSymbols')
library(BatchGetSymbols)
df.SP500 <- GetSP500Stocks()
顺便说一句,下次 post github 中的一个问题,我会解决它。
最佳,