Skip to content

Rprof in Windows

2 messages · Sharon Kuhlmann-Berenzon, Brian Ripley

#
Dear list,

I am currently using R 1.6.1 on Windows XP. I am trying to profile a
lengthy program I have. I managed to obtain the profile twice using
Rprof() and then summaryRprof(). But after that, all further attempts
indicate that no events have  been recorded in the .out file.
Error in summaryRprof() : no events were recorded

The Rprof.out file is created, but it only contains the line on the length
of the interval. Could there be a parameter or option that I should check
or that might have been changed unadvertedly?

Thank you for any help,

Sharon K?hlmann

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
SHARON K?HLMANN-BERENZON

Tel. +46-31-772 53 60			Dept. Mathematical Statistics
Fax. +46-31-772 35 08			Chalmers University of Tech.
e-mail: sharon at math.chalmers.se		Eklandagatan 86
					412 96 G?teborg, Sweden
#
On Thu, 10 Apr 2003, Sharon Kuhlmann-Berenzon wrote:

            
My guess is that you have a single-CPU machine: you need to leave a time
gap between Rprof() and running the code.  It seems to be a bug in the
Windows runtime used in 1.6.x that is failing to start the profiling
thread: it did not happen in 1.5.1 and 1.7.0 (a week away) will contain a
workaround -- dual-CPU machines always worked correctly.