Please give a reproducible example. When I run your code I get "object
'stocks' not found". So what is stocks?

On Thu, Feb 27, 2014 at 11:24 PM, George Katsuras <geoka...@hotmail.com> wrote:
> 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]]
>
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to