Re: [R] Dep setting for install of packages... Hopefully this is it this time

2008-10-21 Thread Gabor Grothendieck
Perhaps utils is not loaded at the time that the profile runs. Try adding library(utils) before the assignInNamespace command. On Tue, Oct 21, 2008 at 2:10 PM, Brian Lunergan <[EMAIL PROTECTED]> wrote: > Gabor Grothendieck wrote: >> >> leaps is not in Depends or Imports for car. It is in Suggests

Re: [R] Dep setting for install of packages... Hopefully this is it this time

2008-10-21 Thread Brian Lunergan
Gabor Grothendieck wrote: leaps is not in Depends or Imports for car. It is in Suggests and those don't get automatically pulled in when dependencies = NA. What you could do is to replace the builtin menuInstallPkgs with your own by running this: assignInNamespace("menuInstallPkgs", function (