Re: [R] FInd packages in need of Update (like RStudio)

2020-12-23 Thread Dr Eberhard W Lisse
Or rather Rscript -e 'local({r <- getOption("repos");r["CRAN"] <- "https://cloud.r-project.org/";options(repos = r)});update.packages(dependencies = TRUE, ask=FALSE)' as a one liner :-)-O el On 2020-12-23 17:59 , Dr Eberhard W Lisse wrote: > Thanks, > > update.packages(dependenci

Re: [R] FInd packages in need of Update (like RStudio)

2020-12-23 Thread Dr Eberhard W Lisse
Thank you, but the RFTM suggestion helped me even more :-)-O greetings, el On 2020-12-23 17:06 , Sarah Goslee wrote: > Does update.packages() meet your needs? > > > Sarah > > On Wed, Dec 23, 2020 at 9:39 AM Dr Eberhard W Lisse wrote: >> >> Hi, >> >> does anyone know how one would look which

Re: [R] FInd packages in need of Update (like RStudio)

2020-12-23 Thread Dr Eberhard W Lisse
Thanks, update.packages(dependencies = TRUE, ask=FALSE) does what I want. greetings, el On 2020-12-23 17:30 , Deepayan Sarkar wrote: > On Wed, Dec 23, 2020 at 8:09 PM Dr Eberhard W Lisse wrote: >> >> Hi, >> >> does anyone know how one would look which packages require an update >> (lik

Re: [R] FInd packages in need of Update (like RStudio)

2020-12-23 Thread Deepayan Sarkar
On Wed, Dec 23, 2020 at 8:09 PM Dr Eberhard W Lisse wrote: > > Hi, > > does anyone know how one would look which packages require an update > (like the Tools -> Update Packages) but can do it from R (ie Rscript) or > any other way from the command line (on the MAc) ? old.packages Best, -Deepayan

Re: [R] FInd packages in need of Update (like RStudio)

2020-12-23 Thread Jeff Newmiller
This is not normally something one would apply automatically, as it can break existing code. But wouldn't?update.packages be the obvious choice interactively? On December 23, 2020 6:38:41 AM PST, Dr Eberhard W Lisse wrote: >Hi, > >does anyone know how one would look which packages require an upd

Re: [R] FInd packages in need of Update (like RStudio)

2020-12-23 Thread Sarah Goslee
Does update.packages() meet your needs? Sarah On Wed, Dec 23, 2020 at 9:39 AM Dr Eberhard W Lisse wrote: > > Hi, > > does anyone know how one would look which packages require an update > (like the Tools -> Update Packages) but can do it from R (ie Rscript) or > any other way from the command l

[R] FInd packages in need of Update (like RStudio)

2020-12-23 Thread Dr Eberhard W Lisse
Hi, does anyone know how one would look which packages require an update (like the Tools -> Update Packages) but can do it from R (ie Rscript) or any other way from the command line (on the MAc) I would like to build this into my update script which currently does brew, cpan and pip3 :-)-O greet