[R] Opening help pages in new tab of existing Mozilla Firebird

2004-05-26 Thread Kevin Wright

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

__
[EMAIL PROTECTED] 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


Re: [R] Opening help pages in new tab of existing Mozilla Firebird

2004-05-26 Thread Michael Morley
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
__
[EMAIL PROTECTED] 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
__
[EMAIL PROTECTED] 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


Re: [R] Opening help pages in new tab of existing Mozilla Firebird

2004-05-26 Thread Marc Schwartz
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 Wright


You 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 21; 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

__
[EMAIL PROTECTED] 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