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

Dr Eberhard W Lisse e| @end|ng |rom ||@@e@NA
Wed Dec 23 16:59:44 CET 2020


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 <el using lisse.na> 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
> 
>> I would like to build this into my update script which currently does
>> brew, cpan and pip3 :-)-O
>>
>> greetings, el
>> --
>> Dr. Eberhard W. Lisse   \         /       Obstetrician & Gynaecologist
>> el using lisse.NA             / *      |  Telephone: +264 81 124 6733 (cell)
>> PO Box 8421 Bachbrecht  \      /  If this email is signed with GPG/PGP
>> 10007, Namibia           ;____/ Sect 20 of Act No. 4 of 2019 may apply
>>
>> ______________________________________________
>> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.

-- 
Dr. Eberhard W. Lisse   \         /       Obstetrician & Gynaecologist
el using lisse.NA             / *      |  Telephone: +264 81 124 6733 (cell)
PO Box 8421 Bachbrecht  \      /  If this email is signed with GPG/PGP
10007, Namibia           ;____/ Sect 20 of Act No. 4 of 2019 may apply



More information about the R-help mailing list