Luca Cerone
2014-Mar-06 09:51 UTC
[R] Updating R and Bioconductor packages in a different folder.
Dear all, I use R on a server on which I don't have administrative access. I would like to update some of the R and Bioconductor packages I use for my daily analysis, however some of those packages are installed system-wide. I would like to know how I can update those packages installing them in my ~/R/ folder, and if this would cause any incompatibility. So how can I get a list of packages that needs updating and force the update to install them in my local folder? Thanks a lot in advance for all the help, Cheers, Luca
Prof Brian Ripley
2014-Mar-06 12:35 UTC
[R] Updating R and Bioconductor packages in a different folder.
On 06/03/2014 09:51, Luca Cerone wrote:> Dear all, > I use R on a server on which I don't have administrative access. > I would like to update some of the R and Bioconductor packages I use > for my daily analysis, > however some of those packages are installed system-wide. > I would like to know how I can update those packages installing them > in my ~/R/ folder, and if this would cause any incompatibility. > > So how can I get a list of packages that needs updating and force the > update to install them in my local folder?It sounds like you want the 'instlib' argument to update.packages(). But if not, study the code of update.packages and modify to suit.> Thanks a lot in advance for all the help, > > Cheers, > Luca-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595