Dear all,
I wish to do :
browseURL("http://www.google.com","lynx")
But this is not opening the lynx browser. I am able to open lynx from
the Debian command line and lynx is on the PATH.
When I do :
browseURL("http://www.google.com")
it does open up the url in Firefox.
When I do ?browseURL it says:
If ?browser? supports remote control and R knows how to
perform it, the URL is opened in any already-running browser
or a new one if necessary. This mechanism currently is
available for browsers which support the ?"-remote
openURL(...)"? interface (which includes Mozilla and Opera),
Galeon, KDE konqueror (_via_ kfmclient) and the GNOME
interface to Mozilla. (Firefox has dropped support, but
defaults to using an already-running browser.) Note that the
type of browser is determined from its name, so this
mechanism will only be used if the browser is installed under
its canonical name.
How can I find out if the -remote openURL interface is supported by lynx?
Thank you,
Ashim
Can browseURL open a lynx browser?
7 messages · Jeff Newmiller, Deepayan Sarkar, Ashim Kapoor +1 more
You mention reading the ?browseURL help page, but seem to make no reference to the available options for invoking the browser of your choice. If the browser you choose isn't behaving when you do this, then isn't this a question for a forum related to that browser?
On March 20, 2022 12:09:05 AM PDT, Ashim Kapoor <ashimkapoor at gmail.com> wrote:
Dear all,
I wish to do :
browseURL("http://www.google.com","lynx")
But this is not opening the lynx browser. I am able to open lynx from
the Debian command line and lynx is on the PATH.
When I do :
browseURL("http://www.google.com")
it does open up the url in Firefox.
When I do ?browseURL it says:
If ?browser? supports remote control and R knows how to
perform it, the URL is opened in any already-running browser
or a new one if necessary. This mechanism currently is
available for browsers which support the ?"-remote
openURL(...)"? interface (which includes Mozilla and Opera),
Galeon, KDE konqueror (_via_ kfmclient) and the GNOME
interface to Mozilla. (Firefox has dropped support, but
defaults to using an already-running browser.) Note that the
type of browser is determined from its name, so this
mechanism will only be used if the browser is installed under
its canonical name.
How can I find out if the -remote openURL interface is supported by lynx?
Thank you,
Ashim
______________________________________________ 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.
Sent from my phone. Please excuse my brevity.
On Sun, Mar 20, 2022 at 12:39 PM Ashim Kapoor <ashimkapoor at gmail.com> wrote:
Dear all,
I wish to do :
browseURL("http://www.google.com","lynx")
But this is not opening the lynx browser. I am able to open lynx from
the Debian command line and lynx is on the PATH.
I haven't used lynx in a while, but
browseURL("http://www.google.com", browser = "elinks -remote")
works for me as long as an elinks session is already running.
Best,
-Deepayan
When I do :
browseURL("http://www.google.com")
it does open up the url in Firefox.
When I do ?browseURL it says:
If ?browser? supports remote control and R knows how to
perform it, the URL is opened in any already-running browser
or a new one if necessary. This mechanism currently is
available for browsers which support the ?"-remote
openURL(...)"? interface (which includes Mozilla and Opera),
Galeon, KDE konqueror (_via_ kfmclient) and the GNOME
interface to Mozilla. (Firefox has dropped support, but
defaults to using an already-running browser.) Note that the
type of browser is determined from its name, so this
mechanism will only be used if the browser is installed under
its canonical name.
How can I find out if the -remote openURL interface is supported by lynx?
Thank you,
Ashim
______________________________________________ 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.
Dear Sir,
I haven't used lynx in a while, but
browseURL("http://www.google.com", browser = "elinks -remote")
works for me as long as an elinks session is already running.
The above elinks incantation is working for me. Many thanks, Ashim
Dear Sir,
You mention reading the ?browseURL help page, but seem to make no reference to the available options for invoking the browser of your choice. If the browser you choose isn't behaving when you do this, then isn't this a question for a forum related to that browser?
OK. Thank you, Ashim
Dear Ashim,
If you really want to use lynx, then you need to open up a new terminal to make this work. For example, this will do:
browseURL("http://www.r-project.org","xterm -e lynx")
But this will open up a new terminal for each call to browseURL().
Best,
Wolfgang
-----Original Message----- From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Ashim Kapoor Sent: Sunday, 20 March, 2022 10:42 To: Jeff Newmiller Cc: R Help Subject: Re: [R] Can browseURL open a lynx browser? Dear Sir,
You mention reading the ?browseURL help page, but seem to make no reference to
the available options for invoking the browser of your choice. If the browser you choose isn't behaving when you do this, then isn't this a question for a forum related to that browser? OK. Thank you, Ashim
Dear Sir, Many thanks for this. Best Regards, Ashim On Sun, Mar 20, 2022 at 6:16 PM Viechtbauer, Wolfgang (SP)
<wolfgang.viechtbauer at maastrichtuniversity.nl> wrote:
Dear Ashim,
If you really want to use lynx, then you need to open up a new terminal to make this work. For example, this will do:
browseURL("http://www.r-project.org","xterm -e lynx")
But this will open up a new terminal for each call to browseURL().
Best,
Wolfgang
-----Original Message----- From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Ashim Kapoor Sent: Sunday, 20 March, 2022 10:42 To: Jeff Newmiller Cc: R Help Subject: Re: [R] Can browseURL open a lynx browser? Dear Sir,
You mention reading the ?browseURL help page, but seem to make no reference to
the available options for invoking the browser of your choice. If the browser you choose isn't behaving when you do this, then isn't this a question for a forum related to that browser? OK. Thank you, Ashim