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 (

Re: [R] Dep setting for install of packages... EOT (I think) and my thanks

2008-10-20 Thread Gabor Grothendieck
You can put the code on several lines as shown or on one line. Does not matter. Read the info on the dependencies= arg in ?install.packages for the definitive explanation of how dependencies= works. On Mon, Oct 20, 2008 at 9:32 AM, Brian Lunergan <[EMAIL PROTECTED]> wrote: > Gabor Grothendieck w

Re: [R] Dep setting for install of packages... EOT (I think) and my thanks

2008-10-20 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 (

Re: [R] Dep setting for install of packages...

2008-10-19 Thread Gabor Grothendieck
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 (type = getOption("pkgType"))

Re: [R] Dep setting for install of packages...

2008-10-19 Thread Brian Lunergan
Gabor Grothendieck wrote: Its showing you the install.packages command that the menu invokes. You can keep pressing Enter to step through that and you can try entering the same command from your R console to verify its operation. Tried an install of car three different times. Once from the men

Re: [R] Dep setting for install of packages...

2008-10-19 Thread Gabor Grothendieck
Its showing you the install.packages command that the menu invokes. You can keep pressing Enter to step through that and you can try entering the same command from your R console to verify its operation. On Sun, Oct 19, 2008 at 10:09 AM, Brian Lunergan <[EMAIL PROTECTED]> wrote: > Gabor Grothendi

Re: [R] Dep setting for install of packages...

2008-10-19 Thread Brian Lunergan
Gabor Grothendieck wrote: Your .libPaths() has a single component. The number of characters in it is not relevant so it should be bringing in the dependenies. Suggest you try this: debug(utils:::menuInstallPkgs) and try using the menu now and see what comes up. > chooseCRANmirror() > debug(

Re: [R] Dep setting for install of packages...

2008-10-18 Thread Gabor Grothendieck
Your .libPaths() has a single component. The number of characters in it is not relevant so it should be bringing in the dependenies. Suggest you try this: debug(utils:::menuInstallPkgs) and try using the menu now and see what comes up. On Sat, Oct 18, 2008 at 9:37 PM, Brian Lunergan <[EMAIL PR

Re: [R] Dep setting for install of packages...

2008-10-18 Thread Brian Lunergan
Gabor Grothendieck wrote: dependencies = NA is only identical to dependencies = FALSE if .libPaths() has multiple components. If it has a single component then its the same as dependencies = c("Depends", "Imports"). Read the dependencies= entry on the ?install.packages page. Also read ?.lib

Re: [R] Dep setting for install of packages...

2008-10-18 Thread Gabor Grothendieck
dependencies = NA is only identical to dependencies = FALSE if .libPaths() has multiple components. If it has a single component then its the same as dependencies = c("Depends", "Imports"). Read the dependencies= entry on the ?install.packages page. Also read ?.libPaths On Sat, Oct 18, 2008

[R] Dep setting for install of packages...

2008-10-18 Thread Brian Lunergan
Evening again folks: Bear with me while crow is consumed. I had asserted that 2.7.2 had dep = NA while prior installations had it turned on. Incorrect on my part. Dumped that version and stepped back two iterations to 2.7.0. Tried it with that one and the setting is indeed off for installing b