r - 如何解决找不到函数“get.hist.quote”的问题?
问题描述
GSPC <- as.xts(get.hist.quote("^GSPC",start="1970-01-02", quote=c("Open", "High", "Low", "Close","Volume","AdjClose")))
get.hist.quote("^GSPC", start = "1970-01-02", quote = c("Open", : 找不到函数 "get.hist.quote") 中的错误
解决方案
通常,当您在调用函数时遇到问题时,您可能有 2 个不同名称的 2 个不同包的不同函数。因此,例如对于get.hist.quote()你可以这样调用它:
package1::get.hist.quote()
package2::get.hist.quote()
推荐阅读
- css - CSS 在 Firefox 和 Safari 中不起作用,但在 Chrome 中完美运行
- ios - 如何从 tvOS 上的视频中删除进度条或视频条?
- django - Django admin:如何从父级重定向到子级模型的视图?
- android - 数据共享首选项的问题 - Flutter
- javascript - 选择其中嵌套了另一个具有特定值的对象的 JSON 对象?
- java - 有没有一种快速的方法来使用 Java 中的构造函数参数分配多个类变量?
- twilio - “调用 getUserMedia 失败:DOMException”使用 Chrome 版本“版本 72.0.3626.96”的 Twilio 视频通话
- android - MediaPlayer、RecyclerAdapter 显示几个播放按钮
- .htaccess - 在网站二上显示网站一的内容
- raspberry-pi - 在 XServer 中的特定 DISPLAY 上运行 SDL/OpenGLES 应用程序