Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: R help

  1. #1
    beew is offline I Ubuntu, Therefore, I Am
    Join Date
    Jun 2010
    Beans
    2,783

    R help

    Hi,

    I have used R in Windows and just have it set up in Ubuntu. Now this is a really stupid question. How do I access the manuals? In the windows version there is a drop down menu under help, click it and a nice PDF manual appears. In the Linux version there is no drop down menu. I was trying various help() related commands with no avail. In the R-cran's site they tell you there are a bunch of manuals that come from the installation but they don't tell you how to access them!

    Help, please.

  2. #2
    Join Date
    Mar 2007
    Beans
    174
    Distro
    Ubuntu

    Re: R help

    you can use help.start(). It will start HTML help, manuals are available there.
    Many people would sooner die than think. In fact they do. - B. Russell

  3. #3
    beew is offline I Ubuntu, Therefore, I Am
    Join Date
    Jun 2010
    Beans
    2,783

    Re: R help

    Quote Originally Posted by Tart View Post
    you can use help.start(). It will start HTML help, manuals are available there.
    I know, I can also download it from their website or read it on Windows with R's windows version. But that is not my point. If there is a manual in the installation I should be able to find it without having to go through a lot of troubles.

  4. #4
    Join Date
    Oct 2005
    Location
    Wyoming, USA
    Beans
    488
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: R help

    Quote Originally Posted by beew View Post
    I know, I can also download it from their website or read it on Windows with R's windows version. But that is not my point. If there is a manual in the installation I should be able to find it without having to go through a lot of troubles.
    I don't mean to sound snide, but perhaps R is not a good software choice for you if typing "help.start()" is "a lot of troubles." R is really more of a language rather than a traditional statistics program (like Minitab or SPSS) and therefore to get to most of the information, it requires typing words rather than clicking menus. Its not better or worse, just different and it will take some getting used to.


    If you are looking for information on a particular function, you can type the function preceded by a question mark:
    Code:
    ?help.start
    ?lm
    ?resid
    And if you don't know the name of a function, but you know some keywords about what you're looking for, you can use help.search():
    Code:
    help.search("anova")
    help.search("AIC")
    help.search("t-test")
    Good luck.
    This looks nothing like my signature...
    My Page

  5. #5
    Join Date
    Mar 2007
    Beans
    174
    Distro
    Ubuntu

    Re: R help

    Quote Originally Posted by beew View Post
    I know, I can also download it from their website or read it on Windows with R's windows version. But that is not my point. If there is a manual in the installation I should be able to find it without having to go through a lot of troubles.
    help.start() uses local installation files (links to PDFs if installed), so you can see where they are stored.
    Last edited by Tart; August 13th, 2010 at 05:54 PM.
    Many people would sooner die than think. In fact they do. - B. Russell

  6. #6
    Join Date
    Oct 2005
    Location
    Albany, NY
    Beans
    842
    Distro
    Ubuntu

    Re: R help

    It is possible to get the PDF files on a Linux version of R, but I agree that the html version of the help is (to me) more convenient.

    Code:
    sudo apt-get install r-doc-pdf
    Look in:

    /usr/share/doc/r-doc-pdf/manual

    for the actual files.

    Because the default Linux interface . . . . sucks for less experienced users . . . . there is no drop-down accessible access to these PDF files AND new users should be forgiven for:

    1. Not knowing how to install these PDF files. They don't appear to be installed by default.
    2. Even if they install them - Good luck finding them. How many new users know that /usr/share/doc is a good place to find the documentation? Many of us know this because we've been knocking heads with Linux for $X years, but this ain't exactly obvious.

    If you would like, you can copy these to your home folder structure somewhere and then remove the package OR you can bookmark the directory in Nautilus. I usually have the docs directory bookmarked in Nautilus and I have my own dired command to open up this directory but not for R.

    For R users, the HTML interface is potentially more useful because it is more or less searchable and I personally find the ? command to be invaluable. The other nice trick that helps remembering all of the commands -- ESS mode in EMACS. If you can't remember the options for a command, ESS can tell you what they are. But whether or not ESS is the best front-end for R is not something that I feel like arguing about right now. It's just an option.

    Unfortunately, there really isn't a nice, default GUI for R. This problem has been discussed here before (at length) and if you look through the archive of this sub-forum you'll find lots of opinions, rationales, etc. You will also find different options for GUIs (ESS mode is not a GUI). RKward is popular and nice, but it will take a few minutes to install if you don't already use KDE.
    Please Insert Funny Statement Here.

  7. #7
    Join Date
    Sep 2007
    Beans
    207

    Re: R help

    Quote Originally Posted by gunksta View Post
    The other nice trick that helps remembering all of the commands -- ESS mode in EMACS.
    Yes, but what is the nice trick to remembering all those archaic EMACS keystrokes???

    Besides, we all know that vi is the true way to go .....

  8. #8
    Join Date
    Oct 2005
    Location
    Albany, NY
    Beans
    842
    Distro
    Ubuntu

    Re: R help

    Quote Originally Posted by hubie View Post
    Yes, but what is the nice trick to remembering all those archaic EMACS keystrokes???

    Besides, we all know that vi is the true way to go .....

    The same trick I use to remember to hit escape before doing something in vi. Practice.

    Sorry. You left yourself open to that one. I think all outside observers agree that BOTH sides of the vi/emacs religious debate know too many archaic keystrokes.

    Vi (actually I used Vim or Viper-Mode) is terrific and I have played around with the Vim+R system developed recently, but I always seem to wind up gravitating back to EMACS.

    EMACS has one killer feature -- org-mode. There ain't nothing else like it.
    Please Insert Funny Statement Here.

  9. #9
    beew is offline I Ubuntu, Therefore, I Am
    Join Date
    Jun 2010
    Beans
    2,783

    Re: R help

    akniss


    I don't mean to sound snide, but perhaps R is not a good software choice for you if typing "help.start()" is "a lot of troubles." R is really more of a language rather than a traditional statistics program (like Minitab or SPSS) and therefore to get to most of the information, it requires typing words rather than clicking menus. Its not better or worse, just different and it will take some getting used to.
    Yes, you are sounding snide. I have been using SAS and R in windows without any problem for sometimes. My question is not about how to use R but is related to its Linux documentation or rather, its absence.

    I also know help.start thank you very much but it links you to the R web site rather than showing you the manuals. What if I don't have internet access at the moment? On the website they tell you there are manuals in the implementations but don't tell you how to access them. Now you can download the manuals from the website,--I also know that. But if the manuals are in the implementation already I shouldn't have to download another copy. I can also get a copy from my windows installation too but that is not the point.

    I also know all the help commands and ??? you posted. But help("manuals") is not legit command.

    (Yes, I have downloaded the manuals as gunskta said. I just couldn't find it.)
    Last edited by beew; August 13th, 2010 at 07:47 PM.

  10. #10
    beew is offline I Ubuntu, Therefore, I Am
    Join Date
    Jun 2010
    Beans
    2,783

    Re: R help

    gunskta

    Big thanks for the informative post and the non condescending attitude towards us Linux newbies. I will try your suggestion when I go home.

    I have rkward installed and also tried Rcmdr. But the terminal is actually fine by me. Even its windows interface is not really a GUI (but the menus are helpful). I am ok with that as long as I know where things are.
    Last edited by beew; August 13th, 2010 at 07:53 PM.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •