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

Dr Eberhard W Lisse e| @end|ng |rom ||@@e@NA
Wed Dec 23 17:08:09 CET 2020


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(dependencies = TRUE, ask=FALSE)
> 
> does what I want.
> 
> 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



More information about the R-help mailing list