Error in loadNamespace(name) : there is no package called ‘Rcompression’

烂漫一生 提交于 2019-12-13 01:24:24

问题


I am running a piece of code from RSelenium. I want to use my own Firefox browser profile to scrape websites.

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.

I have tried to locate an Rcompression package, but without any luck. Any thoughts on a possible solution would be greatly appreciated.


回答1:


You don't need the package if you useBase = TRUE:

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


来源:https://stackoverflow.com/questions/34171682/error-in-loadnamespacename-there-is-no-package-called-rcompression

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!