0
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"

Ronak Shah
  • 355,584
  • 18
  • 123
  • 178
user10769166
  • 39
  • 1
  • 6

1 Answers1

0

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()
Will
  • 562
  • 3
  • 12