PO SU
2015-Mar-01 17:35 UTC
[R] RWebdriver and RSelenium returns the same error while trying to connect the java server
Dear expeRts, ? ?when i using?RWebdriver and RSelenium ,?> require(RSelenium)Loading required package: RSelenium> remDr <- remoteDriver(remoteServerAddr = "localhost"?+ ? ? ? ? ? ? ? ? ? ? ? , port = 4444 + ? ? ? ? ? ? ? ? ? ? ? , browserName = "firefox" + )> remDr$open()[1] "Connecting to remote server" Error: Summary: UnknownError ? Detail: An unknown server-side error occurred while processing the command. ? class: org.openqa.selenium.firefox.NotConnectedException from the cmd lines, it show "unable to connect 127.0.0.1 7055 after 45000ms " i don't know why, is there anybody who happens to know it ? -- PO SU mail: desolator88 at 163.com Majored in Statistics from SJTU
Ista Zahn
2015-Mar-01 20:09 UTC
[R] RWebdriver and RSelenium returns the same error while trying to connect the java server
Do you have a server running? Can you connect to localhost directly from a browser? Best, Ista On Sun, Mar 1, 2015 at 12:35 PM, PO SU <rhelpmaillist at 163.com> wrote:> > > Dear expeRts, > when i using RWebdriver and RSelenium , > > > >> require(RSelenium) > Loading required package: RSelenium >> remDr <- remoteDriver(remoteServerAddr = "localhost" > + , port = 4444 > + , browserName = "firefox" > + ) >> remDr$open() > [1] "Connecting to remote server" > > > > Error: Summary: UnknownError > Detail: An unknown server-side error occurred while processing the command. > class: org.openqa.selenium.firefox.NotConnectedException > > > from the cmd lines, it show "unable to connect 127.0.0.1 7055 after 45000ms " > > > i don't know why, is there anybody who happens to know it ? > -- > > PO SU > mail: desolator88 at 163.com > Majored in Statistics from SJTU > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
peter dalgaard
2015-Mar-02 10:19 UTC
[R] RWebdriver and RSelenium returns the same error while trying to connect the java server
Is this a very recent version of Firefox? Have a look at the thread Re: [R] Firefox not showing R help. It could be related, in which case you might want to try the up-to-the-minute latest version of R-patched (aka 3.1.3RC). Otherwise, as usual, you may need to talk with the relevant package maintainers. -pd On 01 Mar 2015, at 21:09 , Ista Zahn <istazahn at gmail.com> wrote:> Do you have a server running? Can you connect to localhost directly > from a browser? > > Best, > Ista > > On Sun, Mar 1, 2015 at 12:35 PM, PO SU <rhelpmaillist at 163.com> wrote: >> >> >> Dear expeRts, >> when i using RWebdriver and RSelenium , >> >> >> >>> require(RSelenium) >> Loading required package: RSelenium >>> remDr <- remoteDriver(remoteServerAddr = "localhost" >> + , port = 4444 >> + , browserName = "firefox" >> + ) >>> remDr$open() >> [1] "Connecting to remote server" >> >> >> >> Error: Summary: UnknownError >> Detail: An unknown server-side error occurred while processing the command. >> class: org.openqa.selenium.firefox.NotConnectedException >> >> >> from the cmd lines, it show "unable to connect 127.0.0.1 7055 after 45000ms " >> >> >> i don't know why, is there anybody who happens to know it ? >> -- >> >> PO SU >> mail: desolator88 at 163.com >> Majored in Statistics from SJTU >> ______________________________________________ >> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.-- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com