I successfully downloaded and loaded the stockPortfolio and quadprog packages, but when I entered the following command I got an error:


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'




When I tried discovering the source of this error, it appears that the file has been temporarily moved to a new URL address.


I’m currently running Windows 8.1.


Is there a fix for this?




Sent from Windows Mail
	[[alternative HTML version deleted]]

