[R-sig-Debian] separate window for help/newbie
Johannes Ranke
jranke at uni-bremen.de
Fri Nov 16 09:08:08 CET 2007
Hi Robert,
Over here, if I issue help.start() and I have a running konqueror on the
current virtual desktop, then the R intro page is shown in a new tab on that
window, and subsequent help calls open tabs in that window. So I usually
don't have the situation that R would have to choose to which konqueror
window to send the help pages.
However, if I deliberately start a new konqueror window, this new one is
being used by kfmclient newTab. If you have three konqueror windows on
your virtual desktop, things get complicated :) My suggestion would be
to stick to one konqueror window per virtual desktop.
Johannes
* Robert King <Robert.King at newcastle.edu.au> [071116 00:20]:
> While we're on the KDE magic, how can I get help.start() to open a new
> konqueror window, then have following help calls open new tabs in *that*
> window. I tried
>
> > help.start()
> Making links in per-session dir ...
> If 'sensible-browser' is already running, it is *not* restarted, and
> you must switch to its window.
> Otherwise, be patient ...
> > options(browser="kfmclient newTab")
> > ?help.start
>
> but this opened a new tab for the help.start help in another konqueror window
> on the current desktop, rather than the one that just opened. (the same
> happened with
>
> > help.start(browser="kfmclient")
> Changing the default browser (as specified by the 'browser' option) to
> the given browser so that it gets used for all future help
> requests.
> Making links in per-session dir ...
> If 'kfmclient' is already running, it is *not* restarted, and you must
> switch to its window.
> Otherwise, be patient ...
> > options(browser="kfmclient newTab")
> > ?help.start
>
> Thanks,
> Robert.
>
> On Thursday 15 November 2007 0:11, Adrian Dusa wrote:
> > On Wednesday 14 November 2007, Johannes Ranke wrote:
> > > Hi again,
> > >
> > > I just tried to use konqueror as a pager as well - it just opens showing
> > > my home folder, as Adrian described. It might be because the help
> > > contents are piped into the pager. Konqueror (and its alias kfmclient)
> > > is not a pager, althought it is a lot of other things.
> > >
> > > I suggest to use HTML help, at least if you happen to use KDE as a
> > > desktop environment. Either you just issue the command help.start() from
> > > within your R session, or you can make HTML help the default. I just
> > > recalled that there is this R option, and I now have following lines in
> > > my .Rprofile:
> > >
> > > options(htmlhelp=TRUE)
> > > options(browser="kfmclient newTab")
> >
> > Brilliant, thanks very much Johannes that solves it.
> > All the best,
> > Adrian
>
> --
> Robert King, Statistics, School of Mathematical & Physical Sciences,
> University of Newcastle, Australia (CRICOS Provider Number: 00109J)
> Room V133 ph +61 2 4921 5548
> Robert.King at newcastle.edu.au http://tolstoy.newcastle.edu.au/~rking/
>
> "It might be in the basement,
> I'll go upstairs and check .." Escher
>
> _______________________________________________
> R-SIG-Debian mailing list
> R-SIG-Debian at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian
--
Dr. Johannes Ranke jranke at uni-bremen.de Key ID: F649AF90
UFT Bremen, Leobenerstr. 1 +49 421 218 63373
D-28359 Bremen http://www.uft.uni-bremen.de/chemie/ranke
More information about the R-SIG-Debian
mailing list