Index of /bin/linux/ubuntu

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -
[   ]README27-Jun-2008 23:45 4.8K
[TXT]README.html27-Jun-2008 23:54 6.3K
[DIR]dapper/19-Jul-2008 17:30 -
[DIR]feisty/19-Jul-2008 17:30 -
[DIR]gutsy/19-Jul-2008 17:30 -
[DIR]hardy/19-Jul-2008 17:30 -

UBUNTU PACKAGES FOR R

R packages for Ubuntu on i386 and amd64 are available for all stable Desktop releases of Ubuntu until their official end of life date. As of April 2008, these are Hardy Heron (8.04), Gutsy Gibbon (7.10), Feisty Fawn (7.04) and Dapper Drake (6.06). See https://wiki.ubuntu.com/Releases for details.

INSTALLATION

To obtain the latest R packages, add an entry like

   deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu hardy/

or

   deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu gutsy/

or

   deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu feisty/

or

   deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu dapper/

in your /etc/apt/sources.list file. See http://cran.r-project.org/mirrors.html for the list of CRAN mirrors. To install the complete R system, use

   sudo apt-get update
   sudo apt-get install r-base

Users who need to compile packages should also install the r-base-dev package:

   sudo apt-get install r-base-dev

The R packages for Ubuntu should otherwise behave like the Debian ones. For more information, see the README file in http://cran.R-project.org/bin/linux/debian/

SUPPORTED PACKAGES

A number of R packages are available from the Ubuntu repositories with names starting with r-cran-. The following ones are kept up-to-date on CRAN: all packages part of the r-recommended bundle, namely

   r-cran-boot
   r-cran-cluster
   r-cran-codetools
   r-cran-foreign
   r-cran-kernsmooth
   r-cran-lattice
   r-cran-mgcv
   r-cran-nlme
   r-cran-rpart
   r-cran-survival
   r-cran-vr

as well as

   r-cran-rodbc

The other r-cran-* packages are updated with Ubuntu releases only.

Because they rely on the installed version of R, we also provide, on an experimental basis, versions of the following packages as up-to-date as the Ubuntu release allows:

   littler
   rkward
   python-rpy     (not on Dapper)
   python-rpy-doc (not on Dapper)

Please notice that the maintainers are not necessarily users of these packages themselves, so positive or negative feedback through the usual channels (see below) would be appreciated.

Finally, as an added convenience to Ubuntu users who interact with R through Emacs, we also provide an up-to-date version of the package

   ess

SECURE APT

The Ubuntu archives on CRAN are signed with the key of "Vincent Goulet <vincent.goulet@act.ulaval.ca>" with key ID E2A11821. You can fetch this key with

   gpg --keyserver subkeys.pgp.net --recv-key E2A11821

and then feed it to apt-key with

   gpg -a --export E2A11821 | sudo apt-key add -

Some people have reported difficulties using this approach. The issue was usually related to a firewall blocking port 11371. An alternative approach is to search for the key at http://keyserver.noreply.org/ and copy the key to a plain text file, say key.txt. Then, feed the key to apt-key with

   sudo apt-key add key.txt

ADMINISTRATION AND MAINTENANCE OF R PACKAGES

The R packages part of the Ubuntu r-base and r-recommended packages are installed into the directory /usr/lib/R/library. These can be updated using apt-get with

   sudo apt-get update
   sudo apt-get upgrade

The other r-cran-* packages shipped with Ubuntu are installed into the directory /usr/lib/R/site-library.

Installing R packages not provided with Ubuntu first requires tools to compile the packages from source. These tools are installed via the R development package with

   sudo apt-get install r-base-dev

Then a site administrator can install R packages into the directory /usr/local/lib/R/site-library by running R as root and using the

   > install.packages()

function. A routine update can then be undertaken from R using

   > update.packages(lib.loc = "/usr/local/lib/R/site-library")

Individual users can install R packages into their home directory. The simplest procedure is to create a file ~/.Renviron containing, e.g.,

   R_LIBS="~/lib/R/library:${R_LIBS}"

The install.packages() and update.packages() functions will then work in directory ~/lib/R/library.

REPORTING PROBLEMS

The best place to report problems with these packages or ask R questions specific to Ubuntu is the R-SIG-Debian mailing list. See

   https://stat.ethz.ch/mailman/listinfo/r-sig-debian

for more information.

UBUNTU PACKAGES BUILDING

Anyone interested in building Ubuntu packages (e.g. for an unsupported Ubuntu release, another architecture or an old R version) can have a look at the build scripts used by the current maintainers. These are available anonymously from the Subversion repository

   https://vgoulet.act.ulaval.ca/svn/R/cran-ubuntu/

The scripts contain many small changes needed to compile the original Debian packages on the supported Ubuntu releases.

ACKNOWLEDGEMENT

The Debian R packages are maintained by Dirk Eddelbuettel and Doug Bates. The Ubuntu packages are compiled for i386 by Vincent Goulet and for amd64 by Michael Rutter.