Posted by: sutrisno | October 14, 2010

Install R – console di ubuntu 10 04

Hari sabtu kemarin aku ada praktik R Programing,di kampus J3 kalimas.Dalam praktik itu menggunakan aplikasi R Console under windows .Karena aku menggunakan Linux ..jadi aku harus install program itu di laptopku.setelah searching ke Mbak google(padahal umur google baru 13 tahun kalau tidak salah kemarin ulang taun nya)
Linux/Unix systems typically have all of the software required for building packages already installed. The easiest way to install the Rcmdr package and its dependencies if you have an active Internet connection is to run R as root and issue the command install.packages(“Rcmdr”, dependencies=TRUE) at the R prompt. 
On Ubutu systems, in particular, the following procedure should work (slightly modified from a suggestion by Ista Zahn):
1. Add the R repository to Ubuntu (see http://cran.r-project.org/bin/linux/ubuntu/).
2. Install base R and the R dev package: sudo apt-get install r-base r-base-dev
3.Start R from the Ubuntu command line as root so you can install packages system-wide: sudo R
4.From the R command prompt, install Rcmdr:  install.packages(“Rcmdr”, dependencies=TRUE)
It is also possible to install R and R packages from the Ubuntu package respository but these are almost always out of date.

R version 2.10.1 (2009-12-14)
Copyright (C) 2009 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type ‘license()’ or ‘licence()’ for distribution details.

Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type ‘contributors()’ for more information and
‘citation()’ on how to cite R or R packages in publications.

Type ‘demo()’ for some demos, ‘help()’ for on-line help, or
‘help.start()’ for an HTML browser interface to help.
Type ‘q()’ to quit R.

Loading required package: tcltk
Loading Tcl/Tk interface … done
Loading required package: grDevices
Loading required package: utils
Loading required package: car
Loading required package: stats
Loading required package: graphics
— Please select a CRAN mirror for use in this session —
Warning in utils:::install.packages(missing.packages[present], dependencies = TRUE, :
‘lib = “/usr/local/lib/R/site-library”‘ is not writable
Would you like to create a personal library
‘~/R/x86_64-pc-linux-gnu-library/2.10’
to install packages into? (y/n) y
Warning: dependencies ‘R2wd’, ‘EBImage’, ‘sp’, ‘marray’, ‘affy’, ‘Biobase’, ‘snowFT’ are not available
also installing the dependencies ‘slam’, ‘modeltools’, ‘xtable’, ‘e1071’, ‘ellipse’, ‘mlbench’, ‘mix’, ‘Rglpk’, ‘Rmpi’, ‘rpvm’, ‘rlecuyer’, ‘rsprng’, ‘nws’, ‘scatterplot3d’, ‘ape’, ‘coin’, ‘flexmix’, ‘ipred’, ‘mclust’, ‘party’, ‘randomForest’, ‘rmeta’, ‘ergm’, ‘latentnet’, ‘degreenet’, ‘shapes’, ‘alr3’, ‘kinship’, ‘Formula’, ‘snow’, ‘kernlab’, ‘HSAUR’, ‘network’, ‘numDeriv’, ‘SparseM’, ‘statnet’, ‘car’, ‘plm’, ‘sem’, ‘rgenoud’, ‘hexbin’, ‘multicore’, ‘tripack’, ‘akima’, ‘logspline’, ‘RUnit’, ‘robustbase’, ‘vcd’, ‘VGAM’, ‘MCMCpack’, ‘coda’, ‘sna’, ‘gee’, ‘systemfit’, ‘anchors’, ‘survey’, ‘quantreg’, ‘mlmRev’, ‘MEMSS’, ‘DBI’, ‘RSQLite’, ‘RODBC’, ‘tkrplot’, ‘sgeostat’, ‘mapproj’, ‘tcltk2’, ‘png’, ‘tree’, ‘VIM’, ‘mitools’, ‘Zelig’, ‘lme4’, ‘biglm’, ‘chron’, ‘acepack’, ‘TeachingDemos’, ‘Design’, ‘mice’, ‘subselect’

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/slam_0.1-17.tar.gz’
Content type ‘application/x-tar’ length 19565 bytes (19 Kb)
opened URL
==================================================
downloaded 19 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/modeltools_0.2-17.tar.gz’
Content type ‘application/x-tar’ length 21543 bytes (21 Kb)
opened URL
==================================================
downloaded 21 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/xtable_1.5-6.tar.gz’
Content type ‘application/x-tar’ length 142697 bytes (139 Kb)
opened URL
==================================================
downloaded 139 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/e1071_1.5-24.tar.gz’
Content type ‘application/x-tar’ length 312648 bytes (305 Kb)
opened URL
==================================================
downloaded 305 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/ellipse_0.3-5.tar.gz’
Content type ‘application/x-tar’ length 10075 bytes
opened URL
==================================================
downloaded 10075 bytes

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/mlbench_2.1-0.tar.gz’
Content type ‘application/x-tar’ length 919186 bytes (897 Kb)
opened URL
==================================================
downloaded 897 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/mix_1.0-8.tar.gz’
Content type ‘application/x-tar’ length 21852 bytes (21 Kb)
opened URL
==================================================
downloaded 21 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/Rglpk_0.3-5.tar.gz’
Content type ‘application/x-tar’ length 3230191 bytes (3.1 Mb)
opened URL
==================================================
downloaded 3.1 Mb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/Rmpi_0.5-8.tar.gz’
Content type ‘application/x-tar’ length 87528 bytes (85 Kb)
opened URL
==================================================
downloaded 85 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/rpvm_1.0-4.tar.gz’
Content type ‘application/x-tar’ length 66497 bytes (64 Kb)
opened URL
==================================================
downloaded 64 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/rlecuyer_0.3-1.tar.gz’
Content type ‘application/x-tar’ length 10525 bytes (10 Kb)
opened URL
==================================================
downloaded 10 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/rsprng_1.0.tar.gz’
Content type ‘application/x-tar’ length 35916 bytes (35 Kb)
opened URL
==================================================
downloaded 35 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/nws_1.7.0.1.tar.gz’
Content type ‘application/x-tar’ length 100993 bytes (98 Kb)
opened URL
==================================================
downloaded 98 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/scatterplot3d_0.3-30.tar.gz’
Content type ‘application/x-tar’ length 508829 bytes (496 Kb)
opened URL
==================================================
downloaded 496 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/ape_2.6.tar.gz’
Content type ‘application/x-tar’ length 543608 bytes (530 Kb)
opened URL
==================================================
downloaded 530 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/coin_1.0-17.tar.gz’
Content type ‘application/x-tar’ length 3562313 bytes (3.4 Mb)
opened URL
==================================================
downloaded 3.4 Mb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/flexmix_2.2-8.tar.gz’
Content type ‘application/x-tar’ length 1182215 bytes (1.1 Mb)
opened URL
==================================================
downloaded 1.1 Mb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/ipred_0.8-8.tar.gz’
Content type ‘application/x-tar’ length 253467 bytes (247 Kb)
opened URL
==================================================
downloaded 247 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/mclust_3.4.6.tar.gz’
Content type ‘application/x-tar’ length 226683 bytes (221 Kb)
opened URL
==================================================
downloaded 221 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/party_0.9-9999.tar.gz’
Content type ‘application/x-tar’ length 11278266 bytes (10.8 Mb)
opened URL
==================================================
downloaded 10.8 Mb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/randomForest_4.5-36.tar.gz’
Content type ‘application/x-tar’ length 76996 bytes (75 Kb)
opened URL
==================================================
downloaded 75 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/rmeta_2.16.tar.gz’
Content type ‘application/x-tar’ length 17426 bytes (17 Kb)
opened URL
==================================================
downloaded 17 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/ergm_2.2-5.tar.gz’
Content type ‘application/x-tar’ length 284346 bytes (277 Kb)
opened URL
==================================================
downloaded 277 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/latentnet_2.4-0.tar.gz’
Content type ‘application/x-tar’ length 98028 bytes (95 Kb)
opened URL
==================================================
downloaded 95 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/degreenet_1.1.tar.gz’
Content type ‘application/x-tar’ length 46041 bytes (44 Kb)
opened URL
==================================================
downloaded 44 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/shapes_1.1-3.tar.gz’
Content type ‘application/x-tar’ length 117241 bytes (114 Kb)
opened URL
==================================================
downloaded 114 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/alr3_1.1.12.tar.gz’
Content type ‘application/x-tar’ length 237099 bytes (231 Kb)
opened URL
==================================================
downloaded 231 Kb

trying URL ‘http://cran.ms.unimelb.edu.au/src/contrib/kinship_1.1.0-23.tar.gz’
Content type ‘application/x-tar’ length 1229419 bytes (1.2 Mb)
opened URL

setelah selasai maka program R console bisa kita pake …
selamat mencoba ….ini semua sudah aku coba dan berhasil


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: