[R] Problem about Rprof() (Windows build 1.6.2)
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Mon Jan 13 16:32:05 CET 2003
<asone at latte.harvard.edu> writes:
> Thank you for your advice, Prof. Ripley.
> What I found after your e-mail is as follows:
> when the following 4 command lines are typed in R Console one by one on
> R (windows) Version 1.6.2 (2003-01-10),
> I got profiling results.
> However, when I typed the following line in the R console,
> Rprof(); example(lm); Rprof(NULL); summaryRprof()
> the above 4 command lines were saved as a program file, "testRprof.R",
> and it was executed as:
> then I got the following error:
> Error in summaryRprof() : no events were recorded
Interesting. For whatever it is worth, it doesn't seem to happen on
Linux, so it is not the command interpreter per se. What happens if
you turn off the "buffer output" option?
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help