使用R(我是R的新手)。我安装了stockPortfolio和quadProg包。
我试图运行
我该如何进行故障排除和修复呢?
我试图运行
returns <- getReturns(names(stocks), freq="week")
,但是我得到了错误:Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") : cannot open: HTTP status was '404 Not Found'
我该如何进行故障排除和修复呢?