Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#75245 - [r] Enabling memory profiling capability
Attached to Project:
Community Packages
Opened by Víctor Granda García (malditobarbudo) - Tuesday, 05 July 2022, 07:51 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 05 July 2022, 17:22 GMT
Opened by Víctor Granda García (malditobarbudo) - Tuesday, 05 July 2022, 07:51 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 05 July 2022, 17:22 GMT
|
DetailsDescription:
As it is now, R is compiled without memory profiling capabilities. Trying to use the `profmem` package to profile different expressions returns the following: ``` "Error in profmem_begin(threshold = threshold) : Profiling of memory allocations is not supported on this R system (capabilities('profmem') reports FALSE). See help('tracemem'). To enable memory profiling for R on Linux, R needs to be configured and built using './configure --enable-memory-profiling'." ``` This capability would be nice to have when developing R packages from archlinux, as right now we can only profile time, not memory, and sometimes memory usage in R is more important than time. Additional info: * package version(s) community/r 4.2.1-1 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: * Install `profmem` package * Execute `profmem::profmem({rnorm(10)})` * Error message as above is shown |
This task depends upon
Closed by Antonio Rojas (arojas)
Tuesday, 05 July 2022, 17:22 GMT
Reason for closing: Implemented
Additional comments about closing: r 4.2.1-2
Tuesday, 05 July 2022, 17:22 GMT
Reason for closing: Implemented
Additional comments about closing: r 4.2.1-2