Am also having trouble with Rprof. I am using on R 2.15.2 on the Mac (Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)). The example above without profiling takes around a minute to run:
z = 1 for (i in 1:1e8) z = z+1/i z
[1] 19.9979 With profiling:
Rprof() z = 1 for (i in 1:1e8) z = z+1/i
[INFO] Feb 4, 2013 12:45:20 PM - R stopped. Crashes within a second or so. This is consistent with the problem I'm having in my own code in which there is a reasonable amount of memory used (but not a massive amount). Any help much appreciated. Am happy to post this as a bug if that is now appropriate. regards Steven -- View this message in context: http://r.789695.n4.nabble.com/Rprof-causing-R-to-crash-tp4652846p4657482.html Sent from the R help mailing list archive at Nabble.com.