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

Duncan Murdoch murdoch at stats.uwo.ca
Sat Mar 29 18:21:45 CET 2008


On 29/03/2008 1:10 PM, Sean O'Riordain wrote:
> 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.

The Change Dir dialog in R 2.7.0 no longer uses the 
winDialogString()-like dialog, so the problem will go away in that one 
case, but any other user of the underlying code will still have the 
problem.  It's because that function sets up a loop to poll for results. 
  Doesn't really seem worth the trouble to fix.

Duncan Murdoch



More information about the R-devel mailing list