1

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.

4

1 回答 1

2

如果您满足以下条件,则不需要该软件包useBase = TRUE

fprof <- getFirefoxProfile("C:/Users/Administrator/AppData/Roaming/Mozilla/Firefox/Profiles/x51kgfa5.default", useBase=TRUE)
remDr <- remoteDriver(extraCapabilities = fprof)
remDr$open()
于 2016-05-27T02:26:18.267 回答