<[EMAIL PROTECTED]> 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),
>
> Rprof()
> example(lm)
> Rprof(NULL)
> summaryRprof()
>
> I got profiling results.
>
> However, when I typed the following line in the R console,
>
> Rprof(); example(lm); Rprof(NULL); summaryRprof()
>
> or
>
> the above 4 command lines were saved as a program file, "testRprof.R",
> and it was executed as:
>
> >source("C:/asone/R/testRprof.R")
>
> 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
~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907
______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help