[英]Error in loadNamespace(name) : there is no package called ‘Rcompression’
I am running a piece of code from RSelenium. 我正在从RSelenium运行一段代码。 I want to use my own Firefox browser profile to scrape websites. 我想使用自己的Firefox浏览器配置文件来抓取网站。
I am trying to run: 我正在尝试运行:
fprof <- getFirefoxProfile("C:/Users/Administrator/AppData/Roaming/Mozilla/Firefox/Profiles/x51kgfa5.default")
remDr <- remoteDriver(extraCapabilities = fprof)
remDr$open()
Unfortunately I am getting the Rcompression error. 不幸的是我遇到了Rcompression错误。
I have tried to locate an Rcompression package, but without any luck. 我试图找到一个Rcompression软件包,但是没有任何运气。 Any thoughts on a possible solution would be greatly appreciated. 任何对可能解决方案的想法将不胜感激。
You don't need the package if you useBase = TRUE
: 如果您使用useBase = TRUE
则不需要包:
fprof <- getFirefoxProfile("C:/Users/Administrator/AppData/Roaming/Mozilla/Firefox/Profiles/x51kgfa5.default", useBase=TRUE)
remDr <- remoteDriver(extraCapabilities = fprof)
remDr$open()
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.