Henrik Bengtsson
2003-Mar-17 21:23 UTC
[R] Package installation when $RHOME is not writable (win)
Your are looking for the environment variable R_LIBS, which allows local installation of packages. See "R Installation and Administration" and "An Introduction to R", which you find by help.start(). Note that R_LIBS can be set by the shell script or ~/Renviron as said in the former document. Cheers Henrik Bengtsson Mathematical Statistics, Lund University> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Robert King > Sent: den 18 mars 2003 17:41 > To: r-help at stat.math.ethz.ch > Subject: [R] Package installation when $RHOME is not writable (win) > > > I'm using R in a student lab with machines running win XP. > $RHOME is not writable by the students. How do I set this up > so that they can install packages? > > Thanks, > Robert. > ---- > Robert King, Statistics, School of Mathematical & Physical > Sciences, University of Newcastle, Australia Room V133 ph > +61 2 4921 5548 > Robert.King at newcastle.edu.au http://maths.newcastle.edu.au/~rking/ > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo> /r-help > >
Ko-Kang Kevin Wang
2003-Mar-18 06:28 UTC
[R] Package installation when $RHOME is not writable (win)
Hi, I think this is covered in R for Windows FAQ in Section 2.11 and 2.12 (http://cran.r-project.org/bin/windows/contrib/rw-FAQ.html) On Tue, 18 Mar 2003, Robert King wrote:> Date: Tue, 18 Mar 2003 17:40:32 +1100 (EST) > From: Robert King <robert.king at newcastle.edu.au> > To: r-help at stat.math.ethz.ch > Subject: [R] Package installation when $RHOME is not writable (win) > > I'm using R in a student lab with machines running win XP. $RHOME is not > writable by the students. How do I set this up so that they can install > packages? > > Thanks, > Robert. > ---- > Robert King, Statistics, School of Mathematical & Physical Sciences, > University of Newcastle, Australia > Room V133 ph +61 2 4921 5548 > Robert.King at newcastle.edu.au http://maths.newcastle.edu.au/~rking/ > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help >-- Cheers, Kevin ------------------------------------------------------------------------------ /* Time is the greatest teacher, unfortunately it kills its students */ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 Ph: 373-7599 x88475 (City) x88480 (Tamaki)
Robert King
2003-Mar-18 06:40 UTC
[R] Package installation when $RHOME is not writable (win)
I'm using R in a student lab with machines running win XP. $RHOME is not writable by the students. How do I set this up so that they can install packages? Thanks, Robert. ---- Robert King, Statistics, School of Mathematical & Physical Sciences, University of Newcastle, Australia Room V133 ph +61 2 4921 5548 Robert.King at newcastle.edu.au http://maths.newcastle.edu.au/~rking/
Laurent Gautier
2003-Mar-18 07:11 UTC
[R] Package installation when $RHOME is not writable (win)
On Tue, Mar 18, 2003 at 05:40:32PM +1100, Robert King wrote:> I'm using R in a student lab with machines running win XP. $RHOME is not > writable by the students. How do I set this up so that they can install > packages? > > Thanks, > Robert. > ---- > Robert King, Statistics, School of Mathematical & Physical Sciences, > University of Newcastle, Australia > Room V133 ph +61 2 4921 5548 > Robert.King at newcastle.edu.au http://maths.newcastle.edu.au/~rking/ > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-helpI am not very familiar with the windows version, but on unices this can be done without any problem. Try '?install.packages' and check the parameter 'lib' (or 'instlib') Hopin' it helps, Laurent -- -------------------------------------------------------------- currently at the National Yang-Ming University in Taipei, Taiwan -------------------------------------------------------------- Laurent Gautier CBS, Building 208, DTU PhD. Student DK-2800 Lyngby,Denmark tel: +45 45 25 24 89 http://www.cbs.dtu.dk/laurent