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

R语言中文网

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

R语言报告为对象分配的空间print.object_size()函数-中英文对照帮助文档

[复制链接]
发表于 2020-8-21 08:10:01 | 显示全部楼层 |阅读模式
        R语言报告为对象分配的空间print.object_size()函数-中英文对照帮助文档

                                         By MicroRbt Martinez PhD

R语言函数名:print.object_size()
R语言函数功能:报告为对象分配的空间
来自资源库:基础库(R语言自带)
print.object_size()函数所属R语言包:所在R包具体名称、包功能的中英文双语描述见正文后面'--所在R语言包信息--'部分。

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

Provides an estimate of the memory that is being used to store an R object.
提供用于存储R对象的内存的估计值。


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

object.size(x)
## S3 method for class 'object_size' S3 method for class 'object_size'
format(x, units = "b", standard = "auto", digits = 1L, ...)
## S3 method for class 'object_size' S3 method for class 'object_size'
print(x, quote = FALSE, units = "b", standard = "auto",
digits = 1L, ...)

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

参数x介绍: an R object.
一个R对象。

参数quote介绍: logical, indicating whether or not the result should be printed with surrounding quotes.
逻辑,指示是否应在结果周围加上引号。

参数units介绍: the units to be used in formatting and printing the size. Allowed values for the different standards are
用于格式化和打印尺寸的单位。不同的standards的允许值为


参数standard = "legacy"介绍:
"b", "Kb", "Mb", "Gb", "Tb", "Pb", "B", "KB", "MB", "GB", "TB" and "PB".
"b","Kb","Mb","Gb","Tb","Pb","B","KB","MB","GB","TB"和"PB"。


参数standard = "IEC"介绍:
"B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB" and "YiB".
"B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB"和"YiB"。


参数standard = "SI"介绍:
"B", "kB", "MB", "GB", "TB", "PB", "EB", "ZB" and "YB".
"B","kB","MB","GB","TB","PB","EB","ZB"和"YB"。



For all standards, unit = "auto" is also allowed. If standard = "auto", any of the "legacy" and <acronym>IEC</acronym> units are allowed. See Fo
-----未完,待续-----,↓↓↓展开剩余72%↓↓↓
购买主题 前行需要您的支持,请赞助作者 【15 金钱】 就能浏览全部100%内容啦!(本贴一次赞助、永久可读)
回复

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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