You are here:
Vanderbilt Biostatistics Wiki
>
Main Web
>
SoftwareMirrors
(revision 5) (raw view)
Edit
Attach
---+ Software Mirrors %TOC% ---++ Ubuntu To use our Ubuntu repository, add the following to (or replace) your =/etc/apt/sources.list= as root: <pre id="sources-list"> 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/ </pre> Ubuntu version: <select id="version-select"><option value="hardy">Hardy Heron</option><option value="lucid" selected="selected">Lucid Lynx</option><option value="maverick">Maverick Meerkat</option><option value="natty">Natty Narwhal</option><option value="oneiric">Oneiric Ocelot</option></select> <!-- <pre> --> <script type="text/javascript"> var current = "lucid"; $(function() { $('#version-select').change(function() { obj = $(this); previous = current; current = obj.val(); pre = $('#sources-list'); regex = new RegExp(previous, "g"); pre.html(pre.html().replace(regex, current)); }) }) </script> <!-- </pre> --> ---++ CRAN ---+++ R To use our CRAN mirror in R, use the =repos= argument in the =install.packages= function, like so: <pre> install.packages("Hmisc", repos="http://debian.mc.vanderbilt.edu/R/CRAN/") </pre> If you wish to use our mirror by default, add this to your =.Rprofile= file in your home directory: <pre> options(repos="http://debian.mc.vanderbilt.edu/R/CRAN/") </pre> ---+++ 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: <pre> gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9 gpg -a --export E084DAB9 | sudo apt-key add - </pre> See http://debian.mc.vanderbilt.edu/R/CRAN/bin/linux/ubuntu/ for more information about our CRAN Ubuntu mirror.
Edit
|
Attach
|
P
rint version
|
H
istory
:
r6
<
r5
<
r4
<
r3
|
B
acklinks
|
V
iew topic
|
Edit WikiText
|
More topic actions...
Topic revision: r5 - 07 Dec 2011,
JeremyStephens
Main
Department Home Page
Biostatistics Graduate Program
Vanderbilt University Medical Center
Main Web
Main Web Home
Search
Recent Changes
Changes
Topic list
Biostatistics Webs
Archive
Main
Sandbox
System
Register
|
Log In
Copyright © 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