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

Thread: how can i install R (the statistical package)

  1. #1
    Join Date
    Nov 2005
    Beans
    6

    how can i install R (the statistical package)

    Hi,

    I'm new to ubuntu and linux. I would like to install R but I don't know how. I think i have to issue some apt command at the command line, however, I'm not sure exactly what. I've googled around but could not find anything. I hope somebody can help me to know what command i should type.

    Thanks.

  2. #2
    Join Date
    Apr 2005
    Location
    Sweden
    Beans
    311
    Distro
    Ubuntu Breezy 5.10

    Re: how can i install R (the statistical package)

    Don't think you can apt-get R.
    download r-base-core_2.2.0.final-0sarge2_i386.deb r-mathlib_2.2.0.final-0sarge2_i386.deb r-base_2.2.0.final-0sarge2_i386.build r-recommended_2.2.0.final-0sarge2_i386.deb (think you need them all, if you run amd64pick the once which ends on amd64) from
    http://cran.r-project.org/bin/linux/debian/sarge/
    they worked for me.
    Normally firefox saves to desktop, so open a terminal and write
    cd Desktop && sudo dpkg -i *.deb
    Vrooom

  3. #3
    Join Date
    Apr 2005
    Location
    Sweden
    Beans
    311
    Distro
    Ubuntu Breezy 5.10

    Re: how can i install R (the statistical package)

    By the way, if you have access to spss it runs perfect under wine
    Vrooom

  4. #4
    Join Date
    Nov 2005
    Beans
    349
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: how can i install R (the statistical package)

    I recently installed R using Synaptic -- just do a search for "r-" in package names.

    It works fine from the command line -- just type "R" to start. I've also installed something that is supposed to be a GUI for R, but I haven't yet figured out how to run it.

  5. #5
    Join Date
    Nov 2005
    Beans
    6

    Re: how can i install R (the statistical package)

    Thanks guys,

    I'll give it a try when I get home thise evening.

    I'll let you know how it goes.

  6. #6
    Join Date
    Oct 2005
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: how can i install R (the statistical package)

    Quote Originally Posted by rejser
    By the way, if you have access to spss it runs perfect under wine
    Perfect? I can't find a way to successfully generate some charts/graphs from my data (when SPSS is executed via Cedega/CrossOver).

    In wine, I can't pass the network version/status check - the program terminates a few seconds after showing that "network check" splashscreen.

    Do you have some references?
    Educator, UP College of Education
    Professional Member, Association for Computing Machinery (ACM) International
    NetBeans Platform Certified Associate

  7. #7
    Join Date
    Oct 2005
    Beans
    1,887

    Re: how can i install R (the statistical package)

    Quote Originally Posted by rejser
    By the way, if you have access to spss it runs perfect under wine
    spps doesn't wotk for me in wine

  8. #8
    Join Date
    Oct 2005
    Beans
    1,887

    Re: how can i install R (the statistical package)

    Quote Originally Posted by Ubuntist
    I recently installed R using Synaptic -- just do a search for "r-" in package names.

    It works fine from the command line -- just type "R" to start. I've also installed something that is supposed to be a GUI for R, but I haven't yet figured out how to run it.
    Code:
    R --gui=tk
    I tried using gnome, but the package in the repos is empty

  9. #9
    Join Date
    Sep 2006
    Location
    San Diego
    Beans
    18

    Re: how can i install R (the statistical package)

    I didn't like the Tk gui much so I kept looking and found Rcmdr, which is built with ... Tk! But it looks better! Does it work? We'll find out..
    To try it out, do :
    Code:
    sudo apt-get install r-cran-rcmdr
    Then, to start it, start R normally from the CL, and enter:
    Code:
    library("Rcmdr")
    A few seconds later, you should have a working GUI. The creators of the package wrote an academic paper to accompany it -- find it at http://www.jstatsoft.org/v14/i09/v14i09.pdf

  10. #10
    Join Date
    Oct 2005
    Beans
    1,887

    Re: how can i install R (the statistical package)

    the thing is, I was interested in R when I was writing my thesis. then I found out that I cannot use it until I get an R course... at the university I mean.

    So I got stuck with spss and vmware while writing the thesis... wasn't happy...

    R has so much potential. It has so much potential that you can't grasp it (letalone learn it) quickly without a nice GUI that will allow you to "play around". A nice gui with understandable menus, sensible buttons, and a "my user is stupid" attitude

    without such a stupid[me]-oriented gui, it seems to me that only the R-book-readers and R-class-takers will be able to use it, not those who have to "write it now and learn it later".

    ps. cmdr is very nice when compared to tk. but, weirdly, it blocks its developers from writing a gui for R, because they keep saying "hey we have a gui".

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
  •