[R] How automatic Y on install y/n prompts?

Bert Gunter bgunter.4567 at gmail.com
Mon Jul 31 19:45:07 CEST 2017


?install.packages

and pay attention to the "dependencies" argument.

Th RStudio interface does not appear to allow for "suggests" packages
(correction appreciated if this is wrong) , which the command line
makes available.

HTH.

Cheers,
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, Jul 31, 2017 at 5:07 AM, Dimlak Gorkehgz <rain8dome9 at gmail.com> wrote:
> I am testing most of the models caret supports on a bunch of PCs.
> Unfortunately caret "suggested" packages do not include most of the model
> packages available to caret. Every time a new version of R comes out I have
> to sit in front of each PC and wait for each prompt to press the 1 button
> and Enter. Is there an option I could set to tell R or Rstudio to just
> install anything asked for? A for every a/s/n prompt too.
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list