Re: [R] is there a way to update both packages if they occur in 2 libraries?

2010-10-20 Thread Uwe Ligges
update.packages() updates all packages in all libraries listed in .libPaths() unless you specify an explicit library. It may happen that the version number has not changed and you just want to reinstall for your upgraded R. In that case use: update.packages(checkBuilt=TRUE) Best, Uwe Ligges

Re: [R] is there a way to update both packages if they occur in 2 libraries?

2010-10-20 Thread Chris Howden
Thanks Uwe, It may operate like that on most peoples machines, but either its not operating like that on mine. Or I have another problem :-( As u can see from my code below I've run update.packages(checkBuilt=TRUE) and my 'private' library is in my LibPaths()... However when I try to load the

Re: [R] is there a way to update both packages if they occur in 2 libraries?

2010-10-20 Thread Uwe Ligges
On 20.10.2010 13:59, Chris Howden wrote: Thanks Uwe, It may operate like that on most peoples machines, but either its not operating like that on mine. Or I have another problem :-( As u can see from my code below I've run update.packages(checkBuilt=TRUE) and my 'private' library is in my

Re: [R] is there a way to update both packages if they occur in 2 libraries?

2010-10-20 Thread Chris Howden
Thanks Uwe, I was wondering if it was something like that. I'll delete the base packages from my personal library. And just as a comment...although I'm a rather new user to R (as U may have guessed). I gather that every now and then popular and necessary packages are added to base R. So I'm

Re: [R] is there a way to update both packages if they occur in 2 libraries?

2010-10-20 Thread Prof Brian Ripley
On Wed, 20 Oct 2010, Uwe Ligges wrote: On 20.10.2010 13:59, Chris Howden wrote: Thanks Uwe, It may operate like that on most peoples machines, but either its not operating like that on mine. Or I have another problem :-( As u can see from my code below I've run

Re: [R] is there a way to update both packages if they occur in 2 libraries?

2010-10-20 Thread Chris Howden
Thanks for the explanation Brian, I used the summary(packageStatus()) to have a look at what was available and in each library. And then deleted all libraries that came with R2.12.0 from my personal library. And everything now works. Chris Howden Founding Partner Tricky Solutions Tricky

[R] is there a way to update both packages if they occur in 2 libraries?

2010-10-19 Thread Chris Howden
Hi everyone, I’ve recently added a private library as a way to manage my R libraries. And I did this by simply copying my old library to a new folder and then linking this to R by setting my R_LIBS environmental variable in .Renviron. However I have run into a problem. When I update my