Your syntax is wrong. pkgs
character ***vector*** of the names of packages See the example at the end of ?install.packages. "a","b", "c" is **not** a vector c("a", "b", "c") **is** a vector. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Mon, Oct 1, 2018 at 3:04 PM Rich Shepard <rshep...@appl-ecosys.com> wrote: > For a new installation of R-3.5.1 I want to install all packages on > another host. I prepared a file, R-libraries.R, which contains > install.packages('BH, ...') for the entire list. > > When I source() this file on the new host and select a CRAN mirror I see > the message, "Warning message: > package 'BH,covr, <etc> > [...truncated] > > Do I need a space after each comma or is there something else wrong with > my syntax? > > Rich > > ______________________________________________ > 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. > [[alternative HTML version deleted]] ______________________________________________ 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.