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 e...@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@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.