R语言在MS Windows中读取/写入剪贴板writeClipboard()函数-中英文对照帮助文档
By MicroRbt Martinez PhD
R语言函数名:writeClipboard()
R语言函数功能:在MS Windows中读取/写入剪贴板
来自资源库:基础库(R语言自带)
writeClipboard()函数所属R语言包:所在R包具体名称、包功能的中英文双语描述见正文后面'--所在R语言包信息--'部分。
描述-----Description-----
Transfer text between a character vector and the Windows clipboard in MS Windows (only).
在MS Windows中(仅)在字符向量和Windows剪贴板之间传输文本。
使用方法-----Usage-----
getClipboardFormats(numeric = FALSE)
readClipboard(format = 1, raw = FALSE)
writeClipboard(str, format = 1)
参数-----Arguments-----
参数numeric介绍: logical: should the result be in human-readable form (the default) or raw numbers?
逻辑:结果应采用人类可读的格式(默认值)还是原始数字?
参数format介绍: an integer giving the desired format.
提供所需格式的整数。
参数raw介绍: should the value be returned as a raw vector rather than as a character vector?
该值应该作为原始向量而不是作为字符向量返回吗?
参数str介绍: a character vector or a raw vector.
字符向量或原始向量。
详情-----Details-----
The Windows clipboard offers data in a number of formats: see e.g. https://docs.microsoft.com/en-gb/windows/desktop/dataxchg/clipboard-formats.
Windows剪贴板提供了多种格式的数据:请参见https://docs.microsoft.com/zh-CN/windows/desktop/dataxchg/clipboard-formats。
The standard formats include
标准格式包括
CF_TEXT </td><td style="text-align: right;"> 1: Text in the machine's locale
CF_TEXT </td><td style="text-align: right;"> 1:机器语言环境中的文本
参数CF_BITMAP </td><td style="text-align: right;"> 2:介绍
CF_METAFILEPICT </td><td st
-----未完,待续-----,↓↓↓展开剩余72%↓↓↓
|