Arguments to utils:::menuInstallPkgs
OK, many thanks Duncan! ///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\ Jose Claudio Faria Estatistica UESC/DCET/Brasil joseclaudio.faria at gmail.com Telefones: 55(73)3680.5545 - UESC 55(73)99966.9100 - VIVO 55(73)99100.7351 - TIM 55(73)98817.6159 - OI 55(73)98129.9942 - CLARO ///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\ On Sat, Apr 9, 2016 at 9:37 AM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
On 09/04/2016 8:14 AM, Jose Claudio Faria wrote:
Dears, Is it possible (in any viable way) to pass arguments to the base function (install.packages I think) using the utils:::menu?
No, but why not just call install.packages directly? (If you are using Rgui in Windows, you can add menu items using winMenuAddItem). Duncan Murdoch
For example:
utils:::menuInstallPkgs(loc=.libPaths()[2])
utils:::menuInstallLocal(loc=.libPaths()[2])
Thanks,
///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\
Jose Claudio Faria
Estatistica
UESC/DCET/Brasil
joseclaudio.faria at gmail.com
Telefones:
55(73)3680.5545 - UESC
55(73)99966.9100 - VIVO
55(73)99100.7351 - TIM
55(73)98817.6159 - OI
55(73)98129.9942 - CLARO
///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\
[[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.