设为首页收藏本站获取积分奖励

R语言中文网

 找回密码
 立即注册
查看: 1007|回复: 0

R语言汇总R采样分析器的输出summaryRprof()函数-中英文对照帮助文档

[复制链接]
发表于 2020-8-21 08:15:27 | 显示全部楼层 |阅读模式
        R语言汇总R采样分析器的输出summaryRprof()函数-中英文对照帮助文档

                                         By MicroRbt Martinez PhD

R语言函数名:summaryRprof()
R语言函数功能:汇总R采样分析器的输出
来自资源库:基础库(R语言自带)
summaryRprof()函数所属R语言包:所在R包具体名称、包功能的中英文双语描述见正文后面'--所在R语言包信息--'部分。

描述-----Description-----

Summarise the output of the Rprof function to show the amount of time used by different R functions.
汇总Rprof函数的输出以显示不同R函数使用的时间。


使用方法-----Usage-----

summaryRprof(filename = "Rprof.out", chunksize = 5000,
memory = c("none", "both", "tseries", "stats"),
lines = c("hide", "show", "both"),
index = 2, diff = TRUE, exclude = NULL,
basenames = 1)

参数-----Arguments-----

参数filename介绍: Name of a file produced by Rprof().
Rprof()生成的文件的名称。

参数chunksize介绍: Number of lines to read at a time.
一次读取的行数。

参数memory介绍: Summaries for memory information. See Memory profiling below. Can be abbreviated.
内存信息摘要。请参阅下面的Memory profiling。可以缩写。

参数lines介绍: Summaries for line information. See Line profiling below. Can be abbreviated.
线路信息摘要。请参阅下面的Line profiling。可以缩写。

参数index介绍: How to summarize the stack trace for memory information. See Details below.
如何总结堆栈跟踪以获取内存信息。请参阅下面的Details。

参数diff介绍: If TRUE memory summaries use change in memory rather than current memory.
如果TRUE内存摘要使用内存更改,而不是当前内存。

参数exclude介绍: Functions to exclude when summarizing the stack trace for memory summaries.
汇总内存摘要的堆栈跟踪时要排除的功能。

参数basenames介绍: Number of components of the path to filenames to display.
要显示的文件名路径的组件数。


详情-----Details-----

This function provides the analysis code for Rprof files used by R CMD Rprof.
此功能提供了R CMD Rprof使用的Rprof文件的分析代码。

As the profiling output file could be larger than available memory, it is read in blocks of chunksize lines. Increasing chunksize will make the function run faster if sufficient memory is available.
由于分析输出文件可能大于可用内存,因此将在chunksize行的块中读取该文件。如果有足够的内存,增加chunksize可使功能运行更快。


值-----Value-----

If memory = "none" and lines = "hide", a list with components
如果为memory = "none"和lines = "hide",则包含组件的列表

参数by.self
-----未完,待续-----,↓↓↓展开剩余72%↓↓↓
购买主题 前行需要您的支持,请赞助作者 【15 金钱】 就能浏览全部100%内容啦!(本贴一次赞助、永久可读)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|R语言中文网    

GMT+8, 2024-5-20 21:47 , Processed in 0.023597 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表