Hi there. R v1.3.0, Slackware linux 7.1 or Windows 98SE, PII 266, 64Mb RAM. I notice that under windows, R puts help info (ie. the response to '?<function>') into a new window, whereas under linux, it puts it into the main console window. I find the former much more helpful when checking a function's syntax. Is there a simple way of configuring R under linux to put its help messages into a separate, new console? Stuart Dr Stuart Leask, Clinical lecturer, University of Nottingham Dept Psychiatry, Duncan Macmillan House, Porchester Road, Nottingham. NG3 6AA. UK tel. 0115 969 1300 x 40784 fax 0115 952 5352 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>From owner-r-help at stat.math.ethz.ch Tue Sep 18 07:23:04 2001 >Is there a simple way of configuring R under linux to put its help messages >into a separate, new console?1. help.start() puts them in a browser. 2. You can make a bookmark or button on your browser for the R documents in html on your disk, usually in /usr/lib/R/doc/html. 3. You can have R itself running twice in different windows, once just for help. This is probably the most straightforward answer. (In Gnome, you can put it in a different virtual desktop, and switch back and forth with alt-shift-arrow - which is exceedingly easy on a Kinesis keyboard. I do this because my monitor is only 17 inches, which is about right for one window.) 4. You can use ESS, which uses the bottom half of the screen for help. I usually find that I want the whole screen, though, so I end up closing the help window. Perhaps there are other answers. Jon Baron -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
I suspect that installing xless and use that as the pager might be easier... Andy> -----Original Message----- > From: Peter Dalgaard BSA [mailto:p.dalgaard at biostat.ku.dk] > Sent: Tuesday, September 18, 2001 8:34 AM > To: baron at cattell.psych.upenn.edu > Cc: r-help at stat.math.ethz.ch; stuart.leask at nottingham.ac.uk > Subject: Re: [R] help in a separate window under linux > > > baron at cattell.psych.upenn.edu (Jonathan Baron) writes: > > > >From owner-r-help at stat.math.ethz.ch Tue Sep 18 07:23:04 2001 > > >Is there a simple way of configuring R under linux to put > its help messages > > >into a separate, new console? > > > > 1. help.start() puts them in a browser. > > > > 2. You can make a bookmark or button on your browser for the R > > documents in html on your disk, usually in /usr/lib/R/doc/html. > > > > 3. You can have R itself running twice in different windows, once > > just for help. This is probably the most straightforward answer. > > (In Gnome, you can put it in a different virtual desktop, and > > switch back and forth with alt-shift-arrow - which is exceedingly > > easy on a Kinesis keyboard. I do this because my monitor is only > > 17 inches, which is about right for one window.) > > > > 4. You can use ESS, which uses the bottom half of the screen for > > help. I usually find that I want the whole screen, though, so I > > end up closing the help window. > > > > Perhaps there are other answers. Jon Baron > > 5. library(tcltk); options(pager=tkpager) > > 6. options(pager="./mypager") with mypager > #!/bin/sh > cat > /tmp/foo > xterm -e less /tmp/foo & > > (getting a unique tempfile name and removing it when you're through > reading is - um - an exercise for the reader) > > 7. options(pager=function(file, header, title, delete.file) > system(paste("xterm", "-e less", file, "&"))) > > (getting the title right is going to be tricky: it is generally > something like "R Help on `ls'" and the quotes will confuse > the shell) > > The latter two obviously only work when less is installed... > > -- > O__ ---- Peter Dalgaard Blegdamsvej 3 > c/ /'_ --- Dept. of Biostatistics 2200 Cph. N > (*) \(*) -- University of Copenhagen Denmark Ph: > (+45) 35327918 > ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: > (+45) 35327907 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. > -.-.-.-.-.-.-.-.- > r-help mailing list -- Read > http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: > r-help-request at stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. > _._._._._._._._._ >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On 18-Sep-2001 Dr Stuart Leask wrote:> Hi there. > > R v1.3.0, Slackware linux 7.1 or Windows 98SE, PII 266, 64Mb RAM. > > I notice that under windows, R puts help info (ie. the response to > '?<function>') into a new window, whereas under linux, it puts it into the > main console window. I find the former much more helpful when checking a > function's syntax. > > Is there a simple way of configuring R under linux to put its help messages > into a separate, new console?1) Use ESS. Help then comes up in its own buffer. 2) Use HTML help. Put your browser in a separate virtual desktop if things get too cluttered. ______________________________________________________________________ Stuart Luppescu -=-=- University of Chicago $(B:MJ8$HCRF`H~$NIc(B -=-=- s-luppescu at uchicago.edu http://www.consortium-chicago.org/people/sl.html http://musuko.uchicago.edu/pubkey.asc for PGP Public Key ICQ #21172047 AIM: psycho7070 Uncertain fortune is thoroughly mastered by the equity of the calculation. - Blaise Pascal>> Sent on 18-Sep-2001 at 08:58:16 with xfmail-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi, None of these "pager" things work right. No matter what I set up, if I type> page(data.frame.name)a window opens and the object structure is shown. This can certainly be useful when transferring data, but it's not usually what I want. I would like to see the data in a table format, similar to what "print" does but in a separate, scrollable window, more like what S does. Rick Bilonick>I suspect that installing xless and use that as the pager might be easier...> >Andy > >> -----Original Message----- >> From: Peter Dalgaard BSA [mailto:p.dalgaard at biostat.ku.dk] >> Sent: Tuesday, September 18, 2001 8:34 AM >> To: baron at cattell.psych.upenn.edu >> Cc: r-help at stat.math.ethz.ch; stuart.leask at nottingham.ac.uk >> Subject: Re: [R] help in a separate window under linux >> >> >> baron at cattell.psych.upenn.edu (Jonathan Baron) writes: >> >> > >From owner-r-help at stat.math.ethz.ch Tue Sep 18 07:23:04 2001 >> > >Is there a simple way of configuring R under linux to put >> its help messages >> > >into a separate, new console? >> > >> > 1. help.start() puts them in a browser. >> > >> > 2. You can make a bookmark or button on your browser for the R >> > documents in html on your disk, usually in /usr/lib/R/doc/html. >> > >> > 3. You can have R itself running twice in different windows, once >> > just for help. This is probably the most straightforward answer. >> > (In Gnome, you can put it in a different virtual desktop, and >> > switch back and forth with alt-shift-arrow - which is exceedingly >> > easy on a Kinesis keyboard. I do this because my monitor is only >> > 17 inches, which is about right for one window.) >> > >> > 4. You can use ESS, which uses the bottom half of the screen for >> > help. I usually find that I want the whole screen, though, so I >> > end up closing the help window. >> > >> > Perhaps there are other answers. Jon Baron >> >> 5. library(tcltk); options(pager=tkpager) >> >> 6. options(pager="./mypager") with mypager >> #!/bin/sh >> cat > /tmp/foo >> xterm -e less /tmp/foo & >> >> (getting a unique tempfile name and removing it when you're through >> reading is - um - an exercise for the reader) >> >> 7. options(pager=function(file, header, title, delete.file) >> system(paste("xterm", "-e less", file, "&"))) >> >> (getting the title right is going to be tricky: it is generally >> something like "R Help on `ls'" and the quotes will confuse >> the shell) >> >> The latter two obviously only work when less is installed... >> >> -- >> O__ ---- Peter Dalgaard Blegdamsvej 3 >> c/ /'_ --- Dept. of Biostatistics 2200 Cph. N >> (*) \(*) -- University of Copenhagen Denmark Ph: >> (+45) 35327918 >> ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: >> (+45) 35327907 >> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. >> -.-.-.-.-.-.-.-.- >> r-help mailing list -- Read >> http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html >> Send "info", "help", or "[un]subscribe" >> (in the "body", not the subject !) To: >> r-help-request at stat.math.ethz.ch >> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. >> _._._._._._._._._ >> > >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.->r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html>Send "info", "help", or "[un]subscribe" >(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch >_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._> >Rick Bilonick --- rab at nauticom.net http://www.nauticom.net -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._