【问题标题】:Error in loadNamespace(name) : there is no package called ‘Rcompression’loadNamespace(name) 中的错误:没有名为“Rcompression”的包
【发布时间】:2015-12-09 05:55:14
【问题描述】:

我正在运行来自 RSelenium 的一段代码。我想使用我自己的 Firefox 浏览器配置文件来抓取网站。

我正在尝试运行:

fprof <- getFirefoxProfile("C:/Users/Administrator/AppData/Roaming/Mozilla/Firefox/Profiles/x51kgfa5.default")
remDr <- remoteDriver(extraCapabilities = fprof)
remDr$open()

不幸的是,我收到了 Rcompression 错误。

我试图找到一个 Rcompression 包,但没有任何运气。任何关于可能解决方案的想法将不胜感激。

【问题讨论】:

标签: r error-handling rselenium


【解决方案1】:

如果你useBase = TRUE,则不需要这个包:

fprof <- getFirefoxProfile("C:/Users/Administrator/AppData/Roaming/Mozilla/Firefox/Profiles/x51kgfa5.default", useBase=TRUE)
remDr <- remoteDriver(extraCapabilities = fprof)
remDr$open()

【讨论】:

    猜你喜欢
    • 2013-05-21
    • 2014-01-01
    • 2016-10-28
    • 1970-01-01
    • 2018-11-22
    • 1970-01-01
    • 2015-09-08
    • 2016-06-27
    • 1970-01-01
    相关资源
    最近更新 更多