Re: [R] summaryRprof: Unexpected unit for memory profiling

2024-07-02 Thread Jeff Newmiller via R-help
There was a time when people pretty much ignored the distinction between MB and MiB in computer applications, and using the binary version was usually assumed because, well, this _is_ memory we are measuring. I think this is a leftover from that time. On July 1, 2024 6:33:43 AM PDT, "Sauer, Luk

[R] summaryRprof: Unexpected unit for memory profiling

2024-07-01 Thread Sauer, Lukas Daniel
Hello, I am profiling memory usage using utils::Rprof() and subsequently summarizing the profile using utils::summaryRprof(). According to the documentation ?summaryRprof, the option `memory = "both"` reports "memory consumption in Mb in addition to the timings", i.e. the unit is megabytes. How