问题
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