找回密码
 注册
查看: 253|回复: 0

R语言 sfsmisc包 sourceAttach()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 01:41:46 | 显示全部楼层 |阅读模式
sourceAttach(sfsmisc)
sourceAttach()所属R语言包:sfsmisc

                                        Source and Attach an R source file
                                         源和将R源文件

                                         译者:生物统计家园网 机器人LoveR

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

Source (via sys.source()) and attach (attach) an R source file.
源(通过sys.source())和连接(attach)R源文件。


用法----------Usage----------


sourceAttach(file, pos=2,
             name = paste(abbreviate(gsub(fsep,"", dirname(file)),
                                     12, method="both.sides"),
                          basename(file), sep=fsep),
             keep.source = getOption("keep.source.pkgs"),
             warn.conflicts = TRUE)



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

参数:file
file name
文件名


参数:pos
passed to attach()
传递attach()的


参数:name
character, with a smart default, passed to attach().
字符,一个聪明的默认值,传递给attach()。


参数:keep.source
logical, see sys.source().
逻辑,看到sys.source()。


参数:warn.conflicts
logical, see attach.
逻辑,看到attach。


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

the return value of attach().
的返回值attach()。


(作者)----------Author(s)----------


Martin Maechler, 29 Jul 2011



参见----------See Also----------

attach, sys.source, source
attach,sys.source,source


实例----------Examples----------


sourceAttach(system.file("test-tools.R", package="Matrix"))
search() # shows the new "data base" at position 2[示出了新的“在位置2上的数据的基础上”]
ls(pos = 2)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-21 12:59 , Processed in 0.026206 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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