[BioC] Upgrading R

john seers (IFR) john.seers at bbsrc.ac.uk
Mon May 11 13:38:55 CEST 2009


Hi Chintanu

I have struggled with this problem through several upgrades and I have
not found a consensus of the best way to do it. There are quite a lot of
suggestions and advice if you search around using RSiteSearch().

I think the most straightforward answer I have found is described here:

http://batchfiles.googlecode.com/svn/trunk/README

I have not investigated fully - perhaps copydir is the way to go?

But my last upgrade I used this:

Look for the README and the part that describes the alternative to
copydir:


"An alternative to copydir is to reinstall all packages

	# Alternative to copydir.bat #1
	# this example is for moving from 2.4.1 to 2.5.0
	# run this in R 2.5.0
	setwd(R.home())
	ip <- installed.packages(lib.loc = "../R-2.4.1/library")
	ip <- ip[ip[,1]!="base" ,1]
	install.packages(ip)

"


I hope this helps.


Regards

John Seers


-----Original Message-----
From: bioconductor-bounces at stat.math.ethz.ch
[mailto:bioconductor-bounces at stat.math.ethz.ch] On Behalf Of Sarmah,
Chintanu Kumar
Sent: 10 May 2009 00:33
To: bioconductor at stat.math.ethz.ch
Subject: [BioC] Upgrading R

Hi,
Wonder if there is a way to upgrade R.
I'm currently using R 2.7.2, and wish to 'upgrade' to the latest one via
some process that doesn't make me reinstall all the packages again !!
Please let me know.
Thank you !
Chintanu

	[[alternative HTML version deleted]]



More information about the Bioconductor mailing list