The following R code was working for me:
start <- as.Date("2000-01-01")
end <- as.Date("2018-04-05")
getSymbols("^GSPC", src = "yahoo", from = start, to = end)
However, when I run it, I now get the error message:
Error in curl::curl_download(cu, tmp, handle = h) :
Failed to open file
The machine has disk space. What am I doing wrong?
R-SIG-Finance@r-project.org mailing list
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should