Skip to content
Prev 28091 / 63424 Next

cpu usage high with windows change dir / winDialogString (PR#11045)

Good afternoon Duncan,

Thanks for that.  See below for my reply.

Best Regards,
Sean
On 29/03/2008, Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
Using Taskmanager it shows that RGui.exe is using 92-95% CPU while the
winDialogString() is open and 0% when the dialog is closed or a
different R dialog is used e.g. winDialog("yesnocancel", "Do you
agree?").  The bug is that the cpu usage is unusually high - by
comparison for other dialogs e.g. File / Open script... the cpu usage
stays low - for other windows applications it is not "normal" for cpu
usage to be at 100% while waiting for user input - on slower machines
(e.g. my ancient laptop) this can bring the machine to its' knees
(almost) for the short duration that the dialog is open!  If I select
the "Browse" button, the cpu usage for RGui.exe falls away to 0% so it
is only during the period that R is waiting for the user to fill in
the dialog.  Not an important bug by any means!

Best regards,
Sean