Install R Prog. on Debian Squeeze
R is a Free software environment for Data Analysis and Graphics- Programming Language
- Data Visualization
root@solaiv[~]#apt-cache search ^r-.*
if you were not find anything add an appropriate entry in
root@solaiv[~]#vi /etc/apt/sources.list
the newest R release can be installed using a command sequence like
root@solaiv[~]#apt-get update
root@solaiv[~]#apt-get install r-base
root@solaiv[~]#apt-get install r-base-dev
to enter to R console
root@solaiv[~]#R >
simple add example in R
> a <- 5;
> b <-10;
> c <- a+b;
> c
[1] 15
R packages may then be installed by the local user/admin from the CRAN source packages, typically from inside R using the working wit addition R packages
Install packages from CRAN
> install.packages("RJDBC")
> install.packages("file.tar.gz")
> library("strings") > require("strings")
1 comment:
it ask
apt-get -f install
Thanks for simple steps
Post a Comment