Kevin Wright
2004-May-26 15:32 UTC
[R] Opening help pages in new tab of existing Mozilla Firebird
Subject pretty much says it all. I currently have options()$browser set to open help pages in Mozilla Firebird, but it starts a new window each time and I would like a new 'tab' in an existing window. Sorry if this is obvious, but I can't find anything. Kevin Wright
Michael Morley
2004-May-26 15:56 UTC
[R] Opening help pages in new tab of existing Mozilla Firebird
Try this Mozilla Firefox extension, http://www.intraplanar.net/projects/tabprefs/ If you more control over tabs there is this extension as well http://white.sakura.ne.jp/~piro/xul/_tabextensions.html.en -Mike Kevin Wright wrote:>Subject pretty much says it all. I currently have options()$browser >set to open help pages in Mozilla Firebird, but it starts a new window >each time and I would like a new 'tab' in an existing window. > >Sorry if this is obvious, but I can't find anything. > >Kevin Wright > >______________________________________________ >R-help at stat.math.ethz.ch mailing list >https://www.stat.math.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > >-- Michael Morley Bioinformatics Specialist University of Pennsylvania Department of Pediatrics 3516 Civic Center Blvd., 510B Abramson Pediatric Research Center, Philadelphia, PA 19104-4318. Phone: (215) 590-7673 FAX: (215) 590-3709
Marc Schwartz
2004-May-26 16:06 UTC
[R] Opening help pages in new tab of existing Mozilla Firebird
On Wed, 2004-05-26 at 10:32, Kevin Wright wrote:> Subject pretty much says it all. I currently have options()$browser > set to open help pages in Mozilla Firebird, but it starts a new window > each time and I would like a new 'tab' in an existing window. > > Sorry if this is obvious, but I can't find anything. > > Kevin WrightYou do not indicate which OS you are running, but under Linux, you can use a script such as the following. It will check the current process list to see if an instance of Firefox is already present. If so, it will open a new tab. Otherwise, it opens a new window. #!/bin/sh # if 'firefox-bin' in current ps listing, if ps -e|grep firefox-bin >/dev/null 2>&1; then firefox -remote "openURL(${1}, new-tab)" && exit 0 else #open new instance firefox $1 && exit 0 fi Copy the above into a script file and set it to be executable (chmod +x ScriptFileName). Then set options()$browser to use the script file. Note also that the recent version of the Mozilla standalone browser is called Firefox, in recognition of the existence of the Firebird (formerly Interbase) SQL database project. HTH, Marc Schwartz