[R-SIG-Mac] R 2.10.0 beta -- please test!

Simon Urbanek simon.urbanek at r-project.org
Tue Oct 20 15:39:43 CEST 2009


On Oct 20, 2009, at 5:16 , Michael Kubovy wrote:

> On Oct 19, 2009, at 8:46 AM, Simon Urbanek wrote:
>
>> Dear Mac users,
>>
>> please consider testing R 2.10.0 beta *before* the release. First,  
>> we have now an automated installer generator system for Leopard and  
>> Snow Leopard (incl. 64-bit R), so it will be useful to test that it  
>> works as desired and second there was one very fundamental change  
>> in the GUI (not necessarily visible for the user but it makes sure  
>> any new debugging/browser support in R is passed into the GUI) so  
>> we want to make sure *before* the release that any issues are  
>> ironed out -- but we can only do that with your feedback.
>>
>> The beta releases can be downloaded from
>> http://R.research.att.com/
>>
>> Thanks,
>> Simon
>
> Hi Simon,
>
> You say on http://R.research.att.com/: "Please make sure you delete  
> all old packages and re-install them after upgrading." What is the  
> best way to automate that?
>

First, this applies only if you switch from Tiger build to Leopard  
build.

"The best way" depends really on your exact setup, but one way is  
something like this:

in your "old" R run:
a=.packages(TRUE); save(a,file="~/pkg.RData")

if you don't want to use your old R you can blow everything away, e.g.
RL=`echo 'cat(paste(.libPaths(),collapse="\n"))' | R --slave`
rm -rf $RL
rm -rf /Library/Frameworks/R.framework


Then install the new R and in the new R
load("~/pkg.RData")
install.packages(a[!a %in% .packages(TRUE)])

(If you don't blow away your old stuff and you have an unversioned  
custom library path, you have to use install.packages(a) to make sure  
old stuff gets overwritten)

Cheers,
Simon



More information about the R-SIG-Mac mailing list