[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 [EMAIL PROTECTED] http://maths.newcastle.edu.au/~rking/ __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Re: [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 > [EMAIL PROTECTED] http://maths.newcastle.edu.au/~rking/ > > __ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help I 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. StudentDK-2800 Lyngby,Denmark tel: +45 45 25 24 89http://www.cbs.dtu.dk/laurent __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
RE: [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: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Robert King > Sent: den 18 mars 2003 17:41 > To: [EMAIL PROTECTED] > 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 > [EMAIL PROTECTED] http://maths.newcastle.edu.au/~rking/ > > __ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo> /r-help > > __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Re: [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 <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > 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 > [EMAIL PROTECTED] http://maths.newcastle.edu.au/~rking/ > > __ > [EMAIL PROTECTED] 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) __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help