GSPC <- as.xts(get.hist.quote("^GSPC",start="1970-01-02", quote=c("Open", "High", "Low", "Close","Volume","AdjClose")))
Error in get.hist.quote("^GSPC", start = "1970-01-02", quote = c("Open", : could not find function "get.hist.quote"
GSPC <- as.xts(get.hist.quote("^GSPC",start="1970-01-02", quote=c("Open", "High", "Low", "Close","Volume","AdjClose")))
Error in get.hist.quote("^GSPC", start = "1970-01-02", quote = c("Open", : could not find function "get.hist.quote"
Generally when you have a problem when calling function, you could have 2 different functions with different names of 2 different packages. So for example for get.hist.quote() you can call it in this way:
package1::get.hist.quote()
package2::get.hist.quote()