[R] How to keep the command 'R CMD INSTALL -l' running, even when some error is encountered?

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Aug 23 08:58:52 CEST 2011


On Mon, 22 Aug 2011, thmsfuller066 at gmail.com wrote:

> Hi,
>
> 'R CMD INSTALL -l' will stop if some error is encountered. I don't
> find in the manual an option to keep the command running. Is there
> such an option?

No.  Why would you want to install a package with errors?

If you mean that

R CMD INSTALL pkg1 pkg2 pkg3

stops when installation of pkg1 fails and you still want to install 
pkg2 and pkg3, use a shell loop instead.

In any case, please read the footer of this message and next time 
given an example of what happened and what you wanted to happen.

>
> -- 
> Tom
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list