Hi Duncan, I suspect that it's not the SHBrowseForFolder call as it seems fine once the Browse button is pressed - the problem occurs *before* the Browse button is pressed.
Regards, Sean On 29/03/2008, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 29/03/2008 12:23 PM, Gabor Grothendieck wrote: > > On Sat, Mar 29, 2008 at 12:06 PM, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > >> On 28/03/2008 12:05 PM, [EMAIL PROTECTED] wrote: > >>> Good afternoon, > >>> > >>> This is possibly a windows only bug, definitely of comparatively low > >>> importance - but for the sake of completeness here we go. I've > >>> searched http://bugs.R-project.org/ etc., but can find no mention. > >>> > >>> For RGui.exe, the CPU usage goes to 100% for certain dialog boxes for > >>> the duration that the dialog box is visible, e.g. > >>> > >>> * check CPU usage is low > >>> * On the RGui.exe menu chose File / Change dir... > >>> * the CPU usage goes to 100% > >>> * hit OK > >>> * the CPU usage goes back down again > >> What is the bug here? I'd guess it's not R using the cpu, rather some > >> other process hooked to the dialog, but even if it really is R, why is > >> this a bug? > > > > Maybe R is sitting in a loop consuming all the resources of the system? > > > It's a SHBrowseForFolder call, with a callback. If there's a bug, it > looks to me as though it's in Windows. > > > Duncan Murdoch > ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel