statistical program R

Asked by tahsin

I am a statistics student studying in University . For statistical purpose we have to learn a software named R (programming language). our university use this software in windows .
As I use UBUNTU in my pc I have to know is this program runs in UBUNTU ?
If possible please tell me how?
Note that I am very new in IBUNTU.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
Luky Winarto
Solved:
Last query:
Last reply:
Revision history for this message
Luky Winarto (luckyborneo) said :
#1

Hello Tahsin,

Yup, it is possible to run R program on Ubuntu. You just install it by open your terminal (Applications > Accessories > Terminal) then type this command:

sudo apt-get install r-base

Remember, to install it you have to connect to the internet.

Information about R, please refer to these sites:
[1] http://www.r-project.org/
[2] Some tutorials and examples, http://www.stat.auckland.ac.nz/~ihaka/120/
[3] Some tips on using R with Ubuntu, http://www.keittlab.org/node/158

Have a nice learning there...

Revision history for this message
tahsin (tahsindu) said :
#2

On Sun, Apr 24, 2011 at 3:55 PM, Luky Winarto <
<email address hidden>> wrote:

> Your question #154052 on software-center in Ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/154052
>
> Status: Open => Answered
>
> Luky Winarto proposed the following answer:
> Hello Tahsin,
>
> Yup, it is possible to run R program on Ubuntu. You just install it by
> open your terminal (Applications > Accessories > Terminal) then type
> this command:
>
> sudo apt-get install r-base
>
> Remember, to install it you have to connect to the internet.
>
> Information about R, please refer to these sites:
> [1] http://www.r-project.org/
> [2] Some tutorials and examples,
> http://www.stat.auckland.ac.nz/~ihaka/120/
> [3] Some tips on using R with Ubuntu, http://www.keittlab.org/node/158
>
> Have a nice learning there...
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/154052/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/154052
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Thanks a lot dear Luky Winarto
I dont have good Internet connection in my PC
I bring the R software in a USB pen-drive and now want to install in my
UBUNTU.
As I am very new in UBUNTU please instruct me manually how I will install it
in my UBUNTU.

Revision history for this message
Luky Winarto (luckyborneo) said :
#3

Do you mean you don't have internet connection to install R program to your Ubuntu?

Then, I need the output from this command (run these command from your Ubuntu Terminal). To open Terminal program, just click Applications > Accessories > Terminal.

lsb_release -a ; uname -a

Those commands are checking your running system (Ubuntu). What kind of Ubuntu do you use to install R program. Then I will guide you how to install R program.

Revision history for this message
tahsin (tahsindu) said :
#4

On Sun, Apr 24, 2011 at 4:51 PM, Luky Winarto <
<email address hidden>> wrote:

> Your question #154052 on software-center in Ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/154052
>
> Status: Open => Answered
>
> Luky Winarto proposed the following answer:
> Do you mean you don't have internet connection to install R program to
> your Ubuntu?
>
> Then, I need the output from this command (run these command from your
> Ubuntu Terminal). To open Terminal program, just click Applications >
> Accessories > Terminal.
>
> lsb_release -a ; uname -a
>
> Those commands are checking your running system (Ubuntu). What kind of
> Ubuntu do you use to install R program. Then I will guide you how to
> install R program.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/154052/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/154052
>
> You received this question notification because you are a direct
> subscriber of the question.
>

The result is

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
Linux tahsin-desktop 2.6.35-28-generic #49-Ubuntu SMP Tue Mar 1 14:40:58 UTC
2011 i686 GNU/Linux
tahsin@tahsin-desktop:~$

I am very new and fanatic of UBUNTU
I have been using UBUNTU for only 23 days so I am not experienced .

Revision history for this message
Luky Winarto (luckyborneo) said :
#5

No problemo tahsin,

It seems need a lot of packages if you're install it on offline mode.

Tell me the R program on your USB pen-drive?
Is it .deb package or something?

Revision history for this message
tahsin (tahsindu) said :
#6

On Sun, Apr 24, 2011 at 5:23 PM, Luky Winarto <
<email address hidden>> wrote:

> Your question #154052 on software-center in Ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/154052
>
> Status: Open => Answered
>
> Luky Winarto proposed the following answer:
> No problemo tahsin,
>
> It seems need a lot of packages if you're install it on offline mode.
>
> Tell me the R program on your USB pen-drive?
> Is it .deb package or something?
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/154052/+confirm?answer_id=4
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/154052
>
> You received this question notification because you are a direct
> subscriber of the question.
>

perhaps this is .deb package. Actually I can not find out the formate (sorry
for that).
I notice many files .rdx , .zip .
What I can do now?

Revision history for this message
Best Luky Winarto (luckyborneo) said :
#7

Hmm... would you mind to download these packages?

http://es.archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.5/libgfortran3_4.5.1-7ubuntu2_i386.deb
http://es.archive.ubuntu.com/ubuntu/pool/main/b/blas/libblas3gf_1.2-7_i386.deb
http://es.archive.ubuntu.com/ubuntu/pool/main/l/lapack/liblapack3gf_3.2.1-8_i386.deb
http://es.archive.ubuntu.com/ubuntu/pool/main/t/tcl8.5/tcl8.5_8.5.8-2build1_i386.deb
http://es.archive.ubuntu.com/ubuntu/pool/main/t/tk8.5/tk8.5_8.5.8-1_i386.deb
http://es.archive.ubuntu.com/ubuntu/pool/universe/r/r-base/r-base-core_2.11.1-2_i386.deb
http://es.archive.ubuntu.com/ubuntu/pool/universe/b/boot/r-cran-boot_1.2.42-1_all.deb
http://es.archive.ubuntu.com/ubuntu/pool/universe/c/cluster/r-cran-cluster_1.12.3-1_i386.deb
http://es.archive.ubuntu.com/ubuntu/pool/universe/f/foreign/r-cran-foreign_0.8.40-1_i386.deb
http://es.archive.ubuntu.com/ubuntu/pool/universe/r/r-cran-mass/r-cran-mass_7.3-6-1_i386.deb
http://es.archive.ubuntu.com/ubuntu/pool/universe/k/kernsmooth/r-cran-kernsmooth_2.23-3-2_i386.deb
http://es.archive.ubuntu.com/ubuntu/pool/universe/l/lattice/r-cran-lattice_0.18-8-1_i386.deb
http://es.archive.ubuntu.com/ubuntu/pool/universe/n/nlme/r-cran-nlme_3.1.96-1_i386.deb
http://es.archive.ubuntu.com/ubuntu/pool/universe/r/rmatrix/r-cran-matrix_0.999375-40-1_i386.deb
http://es.archive.ubuntu.com/ubuntu/pool/universe/m/mgcv/r-cran-mgcv_1.6-2-1_i386.deb
http://es.archive.ubuntu.com/ubuntu/pool/universe/s/survival/r-cran-survival_2.35-8-1_i386.deb
http://es.archive.ubuntu.com/ubuntu/pool/universe/r/rpart/r-cran-rpart_3.1.46-1_i386.deb
http://es.archive.ubuntu.com/ubuntu/pool/universe/r/r-cran-class/r-cran-class_7.3-2-2_i386.deb
http://es.archive.ubuntu.com/ubuntu/pool/universe/r/r-cran-nnet/r-cran-nnet_7.3-1-1_i386.deb
http://es.archive.ubuntu.com/ubuntu/pool/universe/r/r-cran-spatial/r-cran-spatial_7.3-2-1_i386.deb
http://es.archive.ubuntu.com/ubuntu/pool/universe/c/codetools/r-cran-codetools_0.2-2-2_all.deb
http://es.archive.ubuntu.com/ubuntu/pool/universe/r/r-base/r-recommended_2.11.1-2_all.deb
http://es.archive.ubuntu.com/ubuntu/pool/universe/r/r-base/r-base_2.11.1-2_all.deb

Save them in one folder, after that you can install them by type this command from terminal:
$ sudo dpkg -i *.deb

Have a nice try...

Revision history for this message
tahsin (tahsindu) said :
#8

Thanks Luky Winarto, that solved my question.

Revision history for this message
tahsin (tahsindu) said :
#9

On Sun, Apr 24, 2011 at 7:54 PM, Luky Winarto <
<email address hidden>> wrote:

> Your question #154052 on software-center in Ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/154052
>
> Status: Open => Answered
>
> Luky Winarto proposed the following answer:
> Hmm... would you mind to download these packages?
>
>
> http://es.archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.5/libgfortran3_4.5.1-7ubuntu2_i386.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/main/b/blas/libblas3gf_1.2-7_i386.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/main/l/lapack/liblapack3gf_3.2.1-8_i386.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/main/t/tcl8.5/tcl8.5_8.5.8-2build1_i386.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/main/t/tk8.5/tk8.5_8.5.8-1_i386.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/universe/r/r-base/r-base-core_2.11.1-2_i386.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/universe/b/boot/r-cran-boot_1.2.42-1_all.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/universe/c/cluster/r-cran-cluster_1.12.3-1_i386.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/universe/f/foreign/r-cran-foreign_0.8.40-1_i386.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/universe/r/r-cran-mass/r-cran-mass_7.3-6-1_i386.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/universe/k/kernsmooth/r-cran-kernsmooth_2.23-3-2_i386.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/universe/l/lattice/r-cran-lattice_0.18-8-1_i386.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/universe/n/nlme/r-cran-nlme_3.1.96-1_i386.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/universe/r/rmatrix/r-cran-matrix_0.999375-40-1_i386.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/universe/m/mgcv/r-cran-mgcv_1.6-2-1_i386.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/universe/s/survival/r-cran-survival_2.35-8-1_i386.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/universe/r/rpart/r-cran-rpart_3.1.46-1_i386.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/universe/r/r-cran-class/r-cran-class_7.3-2-2_i386.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/universe/r/r-cran-nnet/r-cran-nnet_7.3-1-1_i386.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/universe/r/r-cran-spatial/r-cran-spatial_7.3-2-1_i386.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/universe/c/codetools/r-cran-codetools_0.2-2-2_all.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/universe/r/r-base/r-recommended_2.11.1-2_all.deb
>
> http://es.archive.ubuntu.com/ubuntu/pool/universe/r/r-base/r-base_2.11.1-2_all.deb
>
> Save them in one folder, after that you can install them by type this
> command from terminal:
> $ sudo dpkg -i *.deb
>
> Have a nice try...
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/154052/+confirm?answer_id=6
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/154052
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Thanks a lot . I solved my problem.

Revision history for this message
Luky Winarto (luckyborneo) said :
#10

You're most welcome... let's learn Ubuntu together..............