Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
R 中是否有任何工具可以让我看到是什么降低了函数的速度(函数中占用最多时间的代码行、统计数据等)?
干杯!
这是关于 Rprof 的简单指南,http: //cran.r-project.org/doc/manuals/R-exts.html#Profiling-R-code-for-speed
当然还有包描述:http ://stat.ethz.ch/R-manual/R-patched/library/utils/html/Rprof.html