I'm confused as to how to get Rprof
to work with R.
I followed the sample in the documentation and had something like
Rprof(filename="testProfile.out")
test()
Rprof(NULL)
summaryRprof("testProfile.out")
However, inside testProfile.out
, I had one line : sample.interval=20000
This confuses me and when I run summaryRProf
, I get no events were recorded
Any suggestions would be appreciated.