You are here: Vanderbilt Biostatistics Wiki>Main Web>SoftwareMirrors (revision 5)EditAttach

Software Mirrors

Ubuntu

To use our Ubuntu repository, add the following to (or replace) your /etc/apt/sources.list as root:

deb http://debian.mc.vanderbilt.edu/ubuntu/ lucid main universe restricted multiverse
deb-src http://debian.mc.vanderbilt.edu/ubuntu/ lucid main universe restricted multiverse
deb http://debian.mc.vanderbilt.edu/ubuntu/ lucid-security universe main multiverse restricted
deb-src http://debian.mc.vanderbilt.edu/ubuntu/ lucid-security universe main multiverse restricted
deb http://debian.mc.vanderbilt.edu/ubuntu/ lucid-updates universe main multiverse restricted
deb-src http://debian.mc.vanderbilt.edu/ubuntu/ lucid-updates universe main multiverse restricted
deb http://debian.mc.vanderbilt.edu/ubuntu/ lucid-proposed universe main multiverse restricted
deb-src http://debian.mc.vanderbilt.edu/ubuntu/ lucid-proposed universe main multiverse restricted
deb http://debian.mc.vanderbilt.edu/ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://debian.mc.vanderbilt.edu/ubuntu/ lucid-backports universe main multiverse restricted

# For R-related Ubuntu packages
# More info at: http://debian.mc.vanderbilt.edu/R/CRAN/bin/linux/ubuntu/
deb http://debian.mc.vanderbilt.edu/R/CRAN/bin/linux/ubuntu lucid/

Ubuntu version:

CRAN

R

To use our CRAN mirror in R, use the repos argument in the install.packages function, like so:

install.packages("Hmisc", repos="http://debian.mc.vanderbilt.edu/R/CRAN/")

If you wish to use our mirror by default, add this to your .Rprofile file in your home directory:
options(repos="http://debian.mc.vanderbilt.edu/R/CRAN/")

Ubuntu

CRAN provides Ubuntu packages for the latest versions of R. To use it, make sure you have the CRAN Ubuntu sources line in your sources.list file (like in the above example).

Also, you'll need to add CRAN's Ubuntu PGP key so that Ubuntu's package manager doesn't complain. To add it, run this:

gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9
gpg -a --export E084DAB9 | sudo apt-key add -

See http://debian.mc.vanderbilt.edu/R/CRAN/bin/linux/ubuntu/ for more information about our CRAN Ubuntu mirror.
Edit | Attach | Print version | History: r6 < r5 < r4 < r3 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r5 - 07 Dec 2011, JeremyStephens
 

This site is powered by FoswikiCopyright © 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki? Send feedback